AdelPlex
this site the web

Millennium Development Goals

image
image
image
image
image
Showing posts with label Security. Show all posts
Showing posts with label Security. Show all posts

MASSCAN OpenSource Scanner

I tried for my first time the fast and capable masscan, which is the best Open Source Network Security Scanner I ever used. It allowed me to scan and map a large IP address space covering over million hosts.
once I identified a specific vulnerable pattern on a machine, I could easily cross reference this pattern with over the millions of discovered hosts in #masscan database.

For more information and to try out the masscan-web-ui for yourself, you can check out the GitHub project page.

OpenSource Honeypots

Curated list of awesome honeypots, tools, components and much more. The list is divided into categories such as web, services, and others, focusing on open source projects.
Discover more on github below link:

https://goo.gl/t037HN

Open Source P2P Digital Currency

Bitcoin is an Open Source payment system and a completely digital crypto-currency. Bitcoin is a network and a currency establishing a PKI for electronic cash transactions which is distributed P2P. Bitcoin is a decentralized P2P electronic Open Source cash system without a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other.
Bitcoin can be used to run Kickstarter-style crowdfunding campaigns with  payments to the scale of a dollar and soon even much smaller amounts.
The network is Controlled against fraud, it provides users with protection against most prevalent frauds like chargebacks or unwanted charges. Users can backup or encrypt their wallet and hardware wallets could make it very difficult to steal or lose money in the future. Bitcoin is designed to allow its users to have complete control over their money.

URL: https://bitcoin.org

Source Code:
git clone https://github.com/bitcoin/bitcoin.git


Google Voice Authentication

Google has announced the acquisition of an Israeli startup SlickLogin, a company that has reinvented password authentication processes using sound.

Security using two-factor authentication activated may be winning by decreasing their hacking chances, but will no doubt have come across frustrating login situations. SlickLogin aims to make this process more seamless by allowing users to complete the two-step process simply by placing your phone next to their laptop or tablet. The startup claims its technology offers "military-grade security" using "fortified protocol model".

Godaddy Hacked !!

GoDaddy, the internet's largest domain registrar, was hacked on Monday morning by a member of the Anonymous hacking group. Although it was not clear how many websites were affected, "DNS" or Domain Name System, "GoDaddy" and "Anonymous" are trending on Twitter, as thousands of clients and observers comment on the outage.

A hacker identifying himself as the Security leader of Anonymous claimed responsibility shortly after the attack. @AnonymousOwn3r said he hacked GoDaddy because: "I'd like to test how the cyber security is safe and for more reasons that I can not talk now."

Yahoo's password hacked

Nearly 443,000 e-mail addresses and passwords for a Yahoo site were exposed late Wednesday. The impact stretched beyond Yahoo because the site allowed users to log in with credentials from other sites -- which meant that user names and passwords for Yahoo (YHOO, Fortune 500), Google's (GOOG, Fortune 500) Gmail, Microsoft's (MSFT, Fortune 500) Hotmail, AOL (AOL) and many other e-mail hosts were among those posted publicly on a hacker forum.

What's shocking about the development isn't that usernames and passwords were stolen -- that happens virtually every day. The surprise is how easily outsiders cracked a service run by one of the biggest Web companies in the world. The group of seven hackers, who belong to a hacker collective called D33Ds Company, got into Yahoo's Contributor Network database by using a rudimentary attack called a SQL injection.

New Multi-Platform Web Exploit !!

The attack was detected on a compromised website in Colombia, When users visit the site, they are prompted to run a Java applet that hasn't been signed by a trusted certificate authority. If allowed to run, the applet checks which operating system is running on the user's computer -- Windows, Mac OS X or Linux -- and drops a malicious binary file for the corresponding platform. The files are detected by F-Secure as 'Backdoor:OSX/GetShell.A,' 'Backdoor:Linux/GetShell.A' and 'Backdoor:W32/GetShell.A

South Korea blocked port 25 for Security Issues

Summary: South Korea is considering a nation wide block of port 25, as a anti-spam countermeasure aiming to reduce the volumes of spam affecting the country.



The ban, set to go in effect as of December, will replace port 25 with port 587 and 465 for SMTPS.

Spamming through web-based email is yet another way for cybercriminals to bypass the newly introduced regulations. Once the CAPTCHA-solving process for popular free web-based email providers has been outsourced to Indian providers of CAPTCHA-solving services, thousands of newly registered emails will be automatically used for outgoing spamming purposes, once again successfully bypassing the newly introduced regulation.

Mostly because of the way modern malware and spam networks operate. For instance, modern malware has built-in SMTP engines that are port-independent. Moreover, geolocated and malware-infected hosts within South Korea could be automatically updated using the new specs in a matter of seconds, once again continuing the abuse of legitimate networks, while playing by the newly introduced rules.

Code Vulnerability Scanner, Android Mobile App

The Nessus Android app enables you to log into your Nessus Scanner Server to Remotely Control your vulnerability scans by Applying start, stop and pause for your Hosted Internet Web-application as well as analyze the results directly from your Android device.

Download it NOW

Slow HTTP DoS Attacks

the recent OWASP AppSec DC presentation on Slow HTTP POST DoS attacks, the issue of web server platform DoS concerns have reached a new high. Notice that I said, web server platform and not web application code. The attack scenario raised by slow HTTP POST attack is related to web server software (Apache, IIS, SunONE, etc...) and can not be directly mitigated by the application code. In the blog post, we will highlight the two main varieties of slow HTTP attacks - slow request headers and slow request bodies. We will then provide some new mitigation options for the Apache web server platform with ModSecurity.

Network DoS vs. Layer-7 DoS

Whereas network level DoS attacks aim to flood your pipe with lower-level OSI traffic (SYN packets, etc...), web application layer DoS attacks can often be achieved with much less traffic. The point here is that the amount of traffic which can often cause an HTTP DoS condition is often much less than what a network level device would identify as anomalous and therefore would not report on it as they would with traditional network level botnet DDoS attacks.

Layer-7 Connection Consumption Attacks

Ivan Ristic brought up the concept of connection consumption attacks in his 2005 book "Apache Security":

5.4.3. Programming Model Attacks

The brute-force attacks we have discussed are easy to perform but may require a lot of bandwidth, and they are easy to spot. With some programming skills, the attack can be improved to leave no trace in the logs and to require little bandwidth.

The trick is to open a connection to the server but not send a single byte. Opening the connection and waiting requires almost no resources by the attacker, but it permanently ties up one Apache process to wait patiently for a request. Apache will wait until the timeout expires, and then close the connection. As of Apache 1.3.31, request-line timeouts are logged to the access log (with status code 408). Request line timeout messages appear in the error log with the level info. Apache 2 does not log such messages to the error log, but efforts are underway to add the same functionality as is present in the 1.x branch.

Opening just one connection will not disrupt anything, but opening hundreds of connections at the same time will make all available Apache processes busy. When the maximal number of processes is reached, Apache will log the event into the error log ("server reached MaxClients setting, consider raising the MaxClients setting") and start holding new connections in a queue. This type of attack is similar to the SYN flood network attack we discussed earlier. If we continue to open new connections at a high rate, legitimate requests will hardly be served.

If we start opening our connections at an even higher rate, the waiting queue itself will become full (up to 511 connections are queued by default; another value can be configured using the ListenBackLog directive) and will result in new connections being rejected.

Defending against this type of attack is difficult. The only solution is to monitor server performance closely (in real-time) and deny access from the attacker's IP address when attacked.

The issue at hand with these attacks is that the client(s) are opening connections with the web server and sending request data very slowly. For those of you familiar with the old LaBrea Tarpit app for slowing down network based worms, this is somewhat of a reverse approach. Instead of the defender (LaBrea) sending back a TCP Window size of 0 to the attacker (worm) which would force the TCP client to wait for a period of time before resubmitting, in this scenario the attacker is the one forcing the web server to wait. If a web client opens a connection and doesn't send any data to the web server then the web server will default to waiting for the connection's Timeout value to be reached. Wanna guess how long that time interval is in Apache by default? 300 seconds (5 minutes). This means that if a client can simply open a connection and not send anything, that Apache child process thread will sit idle, waiting for data, for 5 minutes. Ouch... So the next logical question to ask from the attacker's perspective is - What is the upper limit on the number of concurrent connections for Apache? This depends on your configs but the main ServerLimit directive has a hard coded value of 20000 (most sites run much less). This limit makes it very feasible for a much smaller number of DDoS clients to take down a site vs. the extremely large number required for network-based pipe flooding.

There are two types of attack to cover when a malicious client never sends a complete Request as specified by the HTTP RFC:

Request       = Request-Line                      ; Section 5.1
*(( general-header ; Section 4.5
| request-header ; Section 5.3
| entity-header ) CRLF) ; Section 7.1
CRLF
[ message-body ] ; Section 4.3


Protect Your Self From FireSheep

Firesheep banks on the fact that most social sites default to the HTTP protocol because it’s quicker. The already existing Firefox extension Force-TLS attempts to circumvent this by forcing those sites to use the HTTPS protocol, therefore making user cookies invisible to Firesheep.

Like the alternative option HTTPS Everywhere, the Force-TLS Firefox extension allows your browser to change HTTP to HTTPS on sites that you indicate in the Firefox Add On “Preferences” menu, protecting your login information and ensuring a secure connection when you access social sites.

HTTPS encrypts user data, so if a script like Firesheep’s like tries to pull it, it can’t be read. Force-TLS forces a number of sites to make all of their requests over an SSL secured channel and while some sites, like Amazon, don’t currently have the secure option, the majors like Facebook, Twitter, Google, etc all allow a HTTPS connection.

How to configure:

1. Download the plugin here and install into Firefox.

undefined

2. Open “Preferences” and add the domains you want to force the HTTPS connection with.

undefined

3. Restart Firefox.

Note: Unlike HTTPS Everywhere, Force-TLS relies on the user defining the sites they want to access through a secure HTTPS connection.

And while everyone know that there’s always some privacy risk when interacting online, hopefully the installation of Force-TLS will at least put less of a damper on today’s stint at your local “free Wifi!” boasting cafe. I’m also looking into the possibility of equivalents for this extension on other browsers and will update this post as soon as I have alternative options.

Hacking WEB 2.0 Apps " FireSheep "

It's extremely common for websites to protect your password by encrypting the initial login, but surprisingly uncommon for websites to encrypt everything else. This leaves the cookie (and the user) vulnerable. HTTP session hijacking (sometimes called "sidejacking") is when an attacker gets a hold of a user's cookie, allowing them to do anything the user can do on a particular website. On an open wireless network, cookies are basically shouted through the air, making these attacks extremely easy.

This is a widely known problem that has been talked about to death, yet very popular websites continue to fail at protecting their users. The only effective fix for this problem is full end-to-end encryption, known on the web as HTTPS or SSL. Facebook is constantly rolling out new "privacy" features in an endless attempt to quell the screams of unhappy users, but what's the point when someone can just take over an account entirely? Twitter forced all third party developers to use OAuth then immediately released (and promoted) a new version of their insecure website. When it comes to user privacy, SSL is the elephant in the room.

Days at Toorcon 12 They announced the release of Firesheep, a Firefox extension designed to demonstrate just how serious this problem is.

After installing the extension you'll see a new sidebar. Connect to any busy open wifi network and click the big "Start Capturing" button. Then wait.

As soon as anyone on the network visits an insecure website known to Firesheep, their name and photo will be displayed:


Double-click on someone, and you're instantly logged in as them.



Firesheep is free, open source, and is available now for Mac OS X and Windows. Linux support is on the way.


FOSS Network Security

Sure, Symantec, MessageLabs, SonicWall, Cisco, Juniper and other big names appear to have the market sewn up. Yet most IT Managers are far too busy or strapped for cash to investigate all the options and demo a range of expensive options. Yet it is a sad situation for any company to expose its network and users to risk due to price – and network security isn’t an island; in this connected world any organisation’s lack of protection could well mean be the key to the next DDoS attack against your domain let alone the relentless flood of spam and viruses.

Open source software is an excellent choice; price is not an issue and, at worst, there’s no obligation to continue with an open source product if you find it does not in fact meet your needs; there’s nothing worse than continuing with an ineffectual product just because you feel committed due to the size of the cheque you wrote.

However, often businesses are dubious of the merits of free software and a sense of fear that such products will be abandoned or lacking in support. Yet there are many robust and stable free open source products available which are used extensively and that come with literally a worldwide community of fellow implementers. The most-used web server in the world, Apache, is a striking FOSS example.

Obviously, there is a lot of software out there. This makes it hard for a company to know where to begin, and how to separate what’s good from what’s not quite so good. We’d like to help: here are some excellent security applications which every business should put on their list to consider. Each one has a wide user base, a load of support and is proven and robust.

SNORT
ClamAV
SpamAssassin
L7 Filter
OpenVPN

CLAM AV

It’s a sad truth that all organizations need an anti-virus solution. Now, let’s clarify one thing: yes, Microsoft Windows is far more predisposed to virus problems than other operating systems but this does not negate the need for Linux shops to scan also.

It’s entirely possible for a Linux server to be hosting virus-infected files, whether as e-mail attachments or stored files on a Samba share or something else. Now, these will not harm Linux or its users, but it would be a terrible crime against the Internet as a whole to be ignorantly passing viruses on.

Happily, no matter the platform, there’s a FOSS solution for you: ClamAV is a well-regarded anti-virus scanning engine which has a flexible range of configurations. A Windows version is also available so no matter your mix of server and desktop platforms you have seamless protection.

SpamAssassin

Spam is a plague on the Internet. It’s constant and unending. Some ISPs and free web mail providers offer anti-spam services but if you’re running your own mail server, accepting mail to your own domain, you have to work out your own solution.

First, some commercial pricing: want Symantec Mail Security? Depending on the number of licenses you buy you’re looking at $AUD 32 per mailbox to cull out virus e-mails; it’s then another $AUD 31 per mailbox to license the anti-spam addon; without this Symantec mail security will leave spam alone. You can’t buy it by itself. For a company with 100 mailboxes, you’re looking at $AUD 6,300 to keep spam out.

And be wary of upgrading; Symantec Mail Security version 6 supports Microsoft Exchange 2007, but the product came out after Exchange 2007; early adopters of Microsoft’s mail platform had no working Symantec option at the time of purchase.

This highlights a problem with proprietary solutions. They are locked in to specific technologies. There’s not likely to be another version of Exchange for three or four years so the company above won’t soon face any problem again with having an unsupported version, but consider that they may opt to change their mail platform in the interim – over to Lotus Domino, say. Now their Symantec Mail Security for Exchange offers no protection at all; they will need to purchase a different version which supports the new platform.

This isn’t a Symantec bash, by any means; indeed, Symantec offer good products (while their Norton line is bloated and burdensome) and they are far from alone in being a provider of commercial, licensed, anti-spam products that specifically tie in to a targeted mail server.
One philosophy that the free and open source movement has espoused, whether intentionally or not, is to promote standards-based software and this is the key to platform-free anti-spam.

Before we get onto that, a case in point about standards is the very argument used against the Firefox web browser, namely that users can find sites which do not load properly under Firefox but yet work within Internet Explorer. The reason is invariably the site has been either badly designed or it has been designed to specifically target Internet Explorer. Firefox prides itself on a very strict and complete implementation of Web Consortium standards; by contrast Internet Explorer is more accepting of coding flaws.

On the surface that sounds helpful but it is not; bad CSS renders despite incorrect or missing quotes or brackets. The web page author is not aware of problems and has no motivation to fix them. However, a growing proportion of Internet users will be unable to see their page as it was intended to be displayed – unless every other browser also receives programming modifications allowing them to tolerate the exact same flaws IE will, and with the exact same results.

Non-standard Internet Explorer extensions do nothing to help either; pages exploiting such are never going to be viewable as intended in other browsers because of the pervasive mantra within FOSS providers that standards be upheld and adhered to.
So, returning to our problem at hand, the standard for e-mail delivery is SMTP, the simple mail transfer protocol. All mail servers, no matter who the vendor, implement SMTP according to a defined and well-accepted standard known simply as “RFC 821”, which stood for almost twenty years before being updated in the form of RFC 2821.

Microsoft Exchange implements SMTP to receive mail. So does Lotus Domino. So does Sendmail. Consequently, a non-proprietary anti-spam solution can wedge itself between the Internet and your mail server, providing its own SMTP implementation and accepting mail in the first instance. It will cleanse the incoming mail of spam and then pass it on to your real mail server, giving a pure flow of clean e-mail. There’s a secondary advantage too; your e-mail server becomes one step removed from the public Internet.

Now, I have to be fair; this idea isn’t the sole domain of the open source world. Indeed, it’s the model used by services like MessageLabs who provide just this very service themselves. Your e-mail goes straight to them, they cleanse it and pass it on. It’s pure SMTP, with no regard for your operating system or mail server environment.

Yet, these services are businesses; they’re going to charge for what they do. That’s fair enough, but it can easily become depressing when your users say “We have too much spam; you must do something” but the solutions are all like taxi meters, ticking over – “you have how many mailboxes?” they ask. “How many domains do you have?”, “How many e-mail messages do you receive a day?” Every question adds up; every single item adds up.

Can open source compete? Pleasantly, the answer is definitely yes – with some impressively mature and stable products available right now. It doesn’t matter if you’re a Windows or Linux user, it doesn’t matter which mail environment you run.

Layer 7 Filtering

L7 Filter is a nice, but perhaps little known, SourceForge project which provides an add-in module for iptables, the Linux firewall product. This obviously means it requires a Linux firewall be on your network for L7 Filter to be of use to you.

L7 Filter makes it possible to detect and prevent a range of network protocols which would otherwise be difficult to detect because they work over a number of different ports and aren’t limited to just one.
An example: companies often want to block BitTorrent applications which may be running on any of a range of different ports. Or, they might want to block MSN Messenger or other instant messaging applications; now these do usually a fixed port but can possibly switch to other ports including the web port, port 80, becoming burdensome for administrators to stop outright.

OPEN VPN

No matter the size of your company, at some point you’ll have users who want to get into the network from home or out on the road whether it be to check mail, work on the database, put together a tender or proposal or any of a million other reasons.

This is where VPN – virtual private network – products come in. Yet, many VPN clients from the likes of Cisco, Nortel and Juniper and other companies of their ilk do not co-operate with each other, or are limited in the operating systems they run on, or generally put up other obstacles.

Instead, OpenVPN is an easily-configured, easily managed VPN tool which works effectively and is available for Windows, Linux and Mac computers. OpenVPN is quicker to set up than IPSec and PPTP and is both cost-effective and stable.

SNORT IDS

Snort, with its funny name, has three primary operating modes. The first two are not really intrusion related and merely reads network packets received and displays them on screen or to disk. In these modes, Snort acts as a network sniffer and packet logger. These in themselves can be useful applications, but is not where Snort really shows its stuff.

Snort’s third operating mode – network intrusion detection – is when the magic happens. Here, Snort actually pays attention to the network traffic passing its electronic eyes and matches what it sees according to a database of updatable signatures as well as any custom user-defined rules. In this mode, Snort does for networks what anti-virus tools do for filesystems.

What’s best is it still runs when you’re asleep, processing packets, log files and more. Actually, you can configure it to send alerts via SMS or other means that can even wake up your network or security staff. Or, you could define rules so Snort blocks the suspicious traffic as well as other traffic from the originating host.

Where Snort isn’t so great is the massive amounts of disk space it chews up with the log files it produces as well as the signature files used to detect rule violations. It’s not unrealistic that Snort operating within a high-traffic site could consume up to 100Gb of disk space. Snort doesn’t especially require any particular level of processor but it really will need a fast disk controller and a lot of space – let alone a network card that is as fast as or faster than the rest of your network (or else you can miss packets.) If the budget can cater for it, really, the best advice would even be to dedicate a machine directly to Snort’s use.

Wherever you choose to run Snort, you do have to remember to place it on your network in a strategic location, because it can only see traffic on its own subnet. There’s little point running Snort on your office desktop computer if your public-facing web and mail servers are housed in a co-location facility, for instance. In fact, depending on the complexity and size of your network, you may want to consider multiple Snort installations, to ensure all your key assets are protected by having one Snort system within each key subnet
 

. . . Social Networks . . .

Usage Policies