Thursday, 13 April 2017

What you're watching on Netflix is no more a secret!

The problem is information in TCP/IP headers are enough to leak content information. An infosec educator from the United States Military Academy at West Point has taken a look at Netflix's HTTPS implementation, and reckons all he needs to know what programs you like is a bit of passive traffic capture. 

It is explained that the TCP/IP headers of a Netflix HTTPS stream provide a 99.5 per cent content fingerprint. Yes, HTTPS is meant to provide privacy, but the variable bitrate (VBR) encoding happens to yield up predictable behaviour, particularly in how the byte-range portion of HTTP GET commands perfectly aligns with individual video segment boundaries. With a database indexing the content metadata (harvested by setting up a server to automatically “watch” videos) against the fingerprints, it's pretty straightforward to capture the fingerprint on someone else's connection and use it to look up the video.

The server used by the expert in his work was hardly a monster: he used a decade-old box with two quad-core Xeon 2.0 processors running at 2 GHz, with Linux Mint 17.3 MATE as the OS. Even that kit loaded the 184 million fingerprints in 15 minutes, and their assessment found that 99.9989 percent of the “windows” were unique. It is said that on an average, the algorithm identified the videos within three minutes, 55 seconds, with more than half of the videos identified before 2:30.

Wednesday, 12 April 2017

How does malware still succeed in exfiltrating your data once an attacker 's server IP is blocked?

We all know there have been (and still is) a lot of malware lurking around the Internet. It’s quite usual today that once the victims get infected, they call back to the command and control (C&C) server, which is controlled by the attacker. The attacker can then contact the malware program installed on the victim’s machine through the C&C server.


Once a C&C server is identified and reported by a forensic professional, it is added to the list of blacklisted IP addresses. Hence, there comes a need for the attacker to connect to the next C&C server. So, Instead of relying upon a static list of preconfigured domain names that corresponded to the location of the C&C servers, the malwares used an algorithm to calculate candidate domain names – and then tried reaching out to a handful of the candidates in a vein attempt to locate an active C&C server.

Now let's see what exactly is this Domain Generation Algorithm (DGA)


Domain Generation Algorithms (DGAs) are used in malware to generate a large number of domain names that can be used in communications to the malware’s command and control servers.

What exactly are it's uses?

The DGA technique is in use because malware that depends on a fixed domain or IP address is quickly blocked, which then hinders operations. So, rather than bringing out a new version of the malware or setting everything up again at a new server, the malware switches to a new domain at regular intervals.

An example of DGA in practice is C&C servers for botnets and ransomware. If we were able to block these or take them down, we would cut the link between the victims and the threat actor. Bots would no longer be able to fetch new instructions and machines infected with ransomware would be unable to request encryption keys and send user data.

How does it work?

To better understand how these algorithms work, let’s look at the requirements they have to fulfill:
  • The routines have to generate domains that are predictable to both sides of the communication chain.
  • The routines have to be as unpredictable for security researchers as possible.
  • The domain registration fee has to be low, given the huge amounts of domains that will be used.
  • The need for speed can be enormous.
  • The registration process has to be anonymous or at least untraceable.
To achieve predictability, yet remain hard to research, the DGA routines use a few building blocks:
  • Seed, the base element : The seed can be a phrase or a number. Practically anything that the threat actor can change at will (e.g. when they switch to a new version), and that can be used in an algorithm. The seed and the time-based element are combined in an algorithm to create the domain name and this “body” will be combined with one of the available TLDs.
  • Time element: a time-based element need not be something like the date and time. It can be something else that varies with time, like for example the trending topic on Twitter in a certain country at the moment of the connection. Actually, something that is difficult to predict is preferred, as this makes it harder for researchers to register certain domains ahead of time and intercept traffic or do a takeover.
  • Top Level Domains (TLDs): To throw off countermeasures is to not use all the domains that the algorithm produces, but only certain ones. This will drastically increase the number of domains necessary to register by researchers if they plan to intercept the traffic.

Summary:


Domain Generating Algorithms are in use by cybercriminals to prevent their servers from being blacklisted or taken down. The algorithm produces random looking domain names. Basically the idea is that two machines using the same algorithm will contact the same domain at a given time, so they will be able to exchange information or fetch instructions.

SBI ATMs spits out cash !! Is your money safe?

State Bank of India has well-arranged a forensic audit into an computerized teller machine in Odisha that emitted out cash without any card being swiped at the ATM machine. Also it is said that this sort of behavior has been identified for about 10 cash dispensers around the country of various banks & this one recently behaved in the similar manner.

​"Around 10 ATMs have been affected as per preliminary information," said Navroze Dastur, managing director of India and South Asia operations at NCR Corporation, which sells and maintains ATMs. 

It was suspected that these are localized hacks on machines running outdated software but don't involve any wider network infections. Experts pointed out that a number of machines are running obsolete Windows XP software, which Microsoft has stopped updating.

A top executive at an ATM deployment conveyed that "Banks mostly do not service and update these machines on time, which makes them vulnerable to highly sophisticated attacks as fraudsters use the most advanced technology available."

"A forensic audit is currently underway and we are trying to understand whether a software malfunction caused the glitch in its systems. Typically, an audit takes around four to six weeks to be completed we should get the report within the end of this month." said a senior State Bank of India official. 

Let's see how the ATM was infected:

ATMs may have been subjected to a 'physical' malware attack that involves plugging a device — say a laptop or phone — into the dispenser's USB port to transfer an infected file or virus that causes the machine to behave unpredictably. Initial reports also suggested that the criminals target machines in remote locations that are usually left unguarded, allowing them to open the outer casing to access the USB port. Once infected, the machine can be remotely controlled by a virtual keyboard and instructed to spew out cash. Experts said that there are keys available which allow an ATM to be opened by unauthorized persons as well and then it needs to be connected to a system through a cord to transfer the virus.

Monday, 10 April 2017

Did Microsoft Windows track your location ? Did Cortana send your voice clips to Microsoft ?

In an effort to be more transparent, Microsoft revealed more about what data Windows 10 Creators Update will collect from users' PCs and clarified what the privacy settings mean. The company has never said precisely what data it collects behind these options, which raised huge privacy concerns among privacy-conscious users.

The Windows 10 Creators Update, which will be available from April 11 for users to download for free, comes with a revamped Privacy settings section.

During the process of upgrading to the Creators Update, you will be displayed a new Privacy Settings screen that will ask you to toggle the following features:
  • Location – Allow Windows and apps to request your location and share that data with Microsoft.
  • Speech Recognition – Allow Cortana and Windows Store apps to recognize your voice and send that data to Microsoft to improve speech recognition.
  • Tailored experiences with diagnostic data – Allow Microsoft to use diagnostic data from your computer to offer tips and recommendations.
  • Relevant ads – Allow apps to use advertising IDs to show ads more interesting to you based on your app usage.
Till now there are three options (Basic, Enhanced, Full) for Windows 10 users to select from under its diagnostics data collection section, with no option for users to opt out of sending their data to Microsoft.

Microsoft published a massive list of diagnostics data – both the Basic and Full levels of diagnostics:
  • Basic – The Basic level collects a limited set of data that is critical for understanding the device and its configuration. This data includes basic device information, quality-related information, app compatibility and Windows Store.
  • Full – The Full level collects data for the following nine categories: common data, software setup and inventory data, product and service usage data, browsing, search and query data, content consumption data, linking, typing, and speech utterance data and licensing and purchase data.
Windows 10 Mobile users will see a similar privacy dashboard, though phones have a cellular data toggle and no tailored experiences option.

With Windows 10’s focus on Windows as a service and built-in cloud-based features like Cortana, the company has stirred a lot of privacy concerns. This new transparency gives users a better sense of what information is being collected—and why. The new privacy dashboards also put in one place most of the personal information the operating system wants to use on a regular basis.

5,00,000 IoT Devices are Infected with Mirai IoT Malware

With the release of the Mirai source code on the Internet, there are increased risks of more botnets being generated. Both Mirai and Bashlite can exploit the numerous IoT devices that still use default passwords and are easily compromised. Such botnet attacks could severely disrupt an organization’s communications or cause significant financial harm.

Reports are claiming that the Mirai IoT malware has now infected almost half a million IoT devices, more than doubling the size of the original Mirai botnet. Since the source code was released in late 2016, the source code has been used by criminals to create their own versions of the malware and are infecting new devices. This new Mirai-derived malware attack actively scanned TCP port 7547 on broadband routers susceptible to a Simple Object Access Protocol (SOAP) vulnerability. These devices can then be remotely used in DDoS attacks. This points us towards hardening the networks against the possibility of a DDoS attack.