Showing posts with label Open Source. Show all posts
Showing posts with label Open Source. Show all posts

Wednesday, July 16, 2014

LibreSSL not safe - Culprit is PRNG



I am not losing hope (yet)



(From the article)

The first "preview" release of OpenSSL alternative LibreSSL is out, and already a researcher says he has found a "catastrophic failure" in the version for Linux.

The problem resides in the pseudo random number generator (PRNG) that LibreSSL relies on to create keys that can't be guessed even when an attacker uses extremely fast computers.



The link below has more information:-

http://arstechnica.com/security/2014/07/only-a-few-days-old-openssl-fork-libressl-is-declared-unsafe-for-linux/

Monday, May 12, 2014

Looks like the Eradication and Recovery steps in incident management are not going well for HeartBleed issue.




Being Lazy or Not Smart - You will still continue to (Heart)Bleed and make others vulnerable

Sometimes other people's stupidity and laziness affects us. Internet is a good example.

According to Netcraft's survey 
  • 43 percent of sites have reissued their certificates since the appearance of Heartbleed. 
  • Seven percent of those have reissued them with the same private key. 
  • Only 14 percent have revoked and reissued with new keys, which is the full set of tasks necessary to prevent attack.
  • Overall, 20 percent have revoked their old certificate, a few without reissuing. Finally, five percent have revoked and reissued, but used the same keys as the earlier certificate.


The link below has more information:-

Some never learn - New servers still surfacing with Heartbleed vulnerability



According to the article:-

Pettersen has unearthed two problems. First, many patched servers are still using their old digital certificates. "Given that any server that was patched after April 7 has to be assumed to have had its certificate private key compromised

Second, there's been an alarming rise in the number of new servers that sport Heartbleed, including a sizeable number of F5's BigIP crypto accelerator servers. "In my most recent scan, 20% of the currently vulnerable servers -- as distinguished by IP addresses -- and 32% of the vulnerable BigIP servers were NOT vulnerable when they were scanned previously," he said. "This means that thousands of sites have gone from not having a Heartbleed problem to having a Heartbleed problem."


The link below has more information:-

Friday, May 9, 2014

7 facts related to OAuth and OpenID flaw


Of which 3 of them relate to development/implementaion and one relates to users (Social Engineering).

NOTE: 
The flaw highlighted by Wang -- which isn't new -- doesn't exist in OAuth 2 or OpenID, but rather in how some businesses have implemented those and other standards

Something I learnt:
Many web applications that rely on third-party authentication use what's called an implicit flow. That involves giving a browser client an access token after the user gives that client access.

he recommends that developers use the more complex "code flow" approach, which involves additional API calls to further verify the authenticity of the client, and which becomes essential for ensuring security when clients maintain any type of server-side state. It also adds the ability to refresh the token and provide offline access.



According to the article:-

1. At risk: open redirects
The primary problem pertains to the use of open redirects, which redirect HTTP requests. "There have been open redirectors for as long as there's been HTML," 


2. Developers, sites, don't follow security recommendations
Many sites and developers don't follow the security mitigations recommended by the standards. Facebook, for example, allows developers to use whitelisting to restrict the range of sites to which incoming open-redirect requests can be redirected, which would block related exploits. But Facebook made it an optional feature.


3. ESPN abuse highlights attack seriousness
Wang demonstrated that precise flaw in a YouTube clip, showing how an open redirector located on the ESPN website -- which allowed users to authenticate using Facebook Connect -- could be abused. Notably, the open redirector redirected to any site specified in a URL parameter, and also passed the query string parameters to the receiving site.


4. Beware social engineering angle
Another way open redirectors can be abused is to send users to malicious sites. If that happened, though, Symantec's Narang said the site would have to trick the user into allowing their third-party credentials -- for example, from Facebook or Google -- to be used to log into the site. "So it involves social engineering -- that part needs to be clear," he pointed out.


5. Developers: know your state
One way to mitigate related vulnerabilities is to restrict the URLs to which the redirector will redirect. "It's always best, if you can, to do exact URI redirect matching,"

6. After coordinated disclosure, some sites fixed
Wang said he notified all businesses that he's listed as having vulnerable implementations of OAuth 2 or OpenID prior to making his public announcement earlier this month. "I found this vulnerability at the beginning of February and I have reported it to related companies," he said.

7. Fixing insecure implementations will take time
Some affected sites have already put related fixes in place. On March 13, for example -- evidently after receiving Wang's vulnerability report -- LinkedIn told developers they would have one month to register their OAuth 2 redirect URLs. "If you do not take the steps noted above by April 11, 2014, requests to authorize new members or refresh tokens will fail. We will display an error message and not redirect the member to your application," LinkedIn said.

But not every site appears willing to practice that type of tough love. Some are opting for more phased transitions. "Facebook making any type of change, because they have such a large client/developer base, if they turned on maximum security, all the people who wrote clients [that assume] weak security, they're going to break," Bradley said.


The link below has more information:-


After OpenSSL now we have OAuth and OpenID flaw


Good time for all organization using OpenSource to contribute for OpenAudit to keep them safe and secure.


According to the article:-

For example, someone clicking on a malicious phishing link will get a popup window in Facebook, asking them to authorize the app. Instead of using a fake domain name that's similar to trick users, the Covert Redirect flaw uses the real site address for authentication.

If a user chooses to authorize the log in, personal data (depending on what is being asked for) will be released to the attacker instead of to the legitimate website. This can range from email addresses, birth dates, contact lists, and possibly even control of the account.

Regardless of whether the victim chooses to authorize the app, he or she will then get redirected to a website of the attacker's choice, which could potentially further compromise the victim.

The link below has more information:-

Tuesday, April 15, 2014

TrueCrypt - First phase of Audit finds no evidence of backdoor.



This is definitely good news as it is a popular tool used by everyone and let's hope the 2nd part of the audit has similar results.

Will this ever happen in a closed source world?
Will the  vendors selling security products allow us to audit their product. After all, 
  1. We are paying them millions purely based on trust 
  2. We also know that many of them were have been hacked before.


The link below has more information:-

Monday, April 14, 2014

HeartBleed - One line of coding - Entire whole world immersed in misery



Interesting...........


According to the article:-

On New Year's Eve in 2011, at one minute before 11pm, a British computer consultant named Stephen Henson finished testing a new version of a popular piece of free security software. With a few keystrokes he released OpenSSL version 1.0.1 into the public domain. Now, more than two years later, the events of that night have shaken the foundations of the internet.

What Henson didn't realise when he released the new version, is that he missed a tiny bug in a new feature called Heartbeat. This feature, written by a German graduate student named Robin Seggelmann, had the best of intentions

Unfortunately, both Seggelmann and Henson missed the fact that this check can be abused to trick the listening computer into replying with up to 64 000 characters of data directly from its memory. The asking computer simply lies about the length of the word it is sending ("cat is 64 000 letters long"), and the replying computer doesn't bother to check – it just spits the data out of its memory.

And here's where it gets really ugly. That data can contain literally anything loaded into memory including passwords, email addresses and encryption keys. Instead of attacking the armoured car, the hackers now have a secret back door into the warehouse and the codes to the safe.


The link below has more information:-

Sunday, April 13, 2014

Was NSA exploiting the Heartbleed bug? - "YES" , according to Bloomberg



I am sure everyone had this in their mind, and now we have an answer.


According to the article:-

Friday afternoon, Bloomberg reported that the National Security Agency has been aware of and actively exploiting the Heartbleed bug for at least two full years, citing "two people familiar with the matter."


The link below has more information:-

Thursday, April 10, 2014

HeartBleed (bug) - Not just websites, extends beyond them?



More bad news 

Also, has a few slides to explain the issue.


According to the article:-

Leaked memory could give attackers hints at how to take the axe to other software, turning known bugs that are currently seen as “hard to exploit” into easy kills.

In the cloud. If you're running VMs in a cloud environment: admins must find their cloud machines and make sure their code base isn't Heartbleed vulnerable.

End-users are going to have to be trained to check certificate issue dates, to make sure that their trusted services (like the bank) have re-issued their certificates.

Thousands of “shoestring budget” VPN concentrators in smaller businesses that will be vulnerable and probably won't be updated




The link below has more information:-

Tuesday, April 8, 2014

OpenSSL Bug - Fix already available



Check here:

https://blogs.akamai.com/2014/04/fix-released-for-heartbleed-openssl-flaw.html

'Sysdig' Linux Troubleshooting tool - Something like strace + tcpdump + lsof + more



(from Darknet)
Sysdig captures system calls and other system level events using a linux kernel facility called tracepoints, which means much less overhead than strace.

It then “packetizes” this information, so that you can save it into trace files and filter it, a bit like you would do with tcpdump. This makes it very flexible to explore what processes are doing.



Check it Out

http://www.sysdig.org/

OpenSSL Bug - Bad for websites



The strange part is  that it appears to have been introduced in 2011, and known since March 2012.


According to the article:-

Known as the Heartbleed bug, the vulnerability allows anyone on the Internet to read the memory of systems that run vulnerable versions of OpenSSL, revealing the secret authentication and encryption keys to protect the traffic.

User names, passwords and the actual content of the communications can also be read.


No man-in-the-middle techniques of interception are required to exploit the out-of-bounds memory bug, and attacks leave no trace on vulnerable systems.


The link below has more information:-

Wednesday, March 26, 2014

Open Source Software - Do enterprises need them?



The author addresses a few myths that surround why Open Source software is not being embraced by IT (fully).


According to the article:- 

The first myth is that open source software is vulnerable to security threats due to access to code, which is not evaluated thoroughly. 

The next challenge that needs to be addressed is the perception that open source is not "enterprise-ready." 

Some companies believe that open source code is great for cutting-edge developers, but not IT operations

Finally, enterprises hesitate to adopt open source software as they believe that there is no responsibility for failures and it is hard to maintain open source code.




The links below has more information: