Tuesday, August 13, 2013

Cyberwarfare: Mounting a defense


Both private and public organizations are at risk for cyberwarfare attacks and must take responsibility for network defense. Tom Olzak outlines security best practices.
In Part 1 of this two-part series, we examined the rise of cyberwarfare, its characteristics, and expectations of government involvement. In this final installment, we look at what it takes to protect private and public organizations from the effects of state- or group-sponsored warfare.
Defending networks isn't a new concept. We've known how to implement prevention, detection, and response controls for years. This isn't the problem. The challenge we face is the lack of will to do what's required to deal with the increasing threats from nations, terrorists, and others. Relying on the Federal government to protect us is simply finger pointing. The fingers need to come down while organizations start assuming responsibility for their own defense.

Defense

Cyberattacks related to warfare differ little from those associated with criminal activity. The main difference is in the effort expended. Cybercriminals tend to walk away when the cost of reaching their objectives exceeds expected revenue. Cyberwarriors take a different approach. Using advanced persistent threats (APTs), cyberwarriors use any means necessary (including time) to achieve political or social objectives. However, the basic defense for both financial and sociopolitical attacks is the same.
  • Management acceptance of defense as a cost of doing business. Once C-level management accepts security in general, and cyberwarfare defense in particular, as a necessary part of doing business, an organization's culture begins to change. As executive management approves and supports security policies and their expected outcomes, all levels of management tend to integrate information-safe business practices into their employees' day-to-day processes.
  • Development of a security program/framework. Security programs contain policies, standards, and guidelines required for consistent compliance with management expectations of risk. In addition to program- and issue-level policies that provide general guidance, system-level policies should exist for probable cyberwarfare targets.
Security frameworks are typically based on a standard of best practice adopted by the organization. Standards of best practice, such as COBIT 5 and ISO 27002, provide the foundation for understanding potential gaps in policies and controls.
  • Risk management. Risk management processes identify gaps between management's expectations and reality. In general, a risk assessment provides a roadmap to achieving a reasonable and appropriate defense by identifying
    • Critical systems, including targets of interest to cyberwarriors
  • Intellectual property
  • National defense technology
  • Critical national public services delivery components
    • System interdependence
    • Threats
    • Vulnerabilities
    • Impact if critical systems or data are compromised
    • Overall risk associated with each identified probable target
    • Metrics
  • Change management. Although in danger of beating the proverbial dead horse, I have to say it again; SECURITY IS A PROCESS. Every time an organization changes an application, adds a system, or makes an adjustment to a network device, the potential for increased risk exists. A solid change management program helps prevent acceptable residual risk from crossing the line to high risk.
Risk management supports change management by requiring risk assessments as part of the software/system development lifecycle (SDLC). Integrating security into every facet of IT projects is a necessary component in cyberwarfare defense.
  • Monitoring. The most basic monitoring controls are alerts from various devices if something questionable occurs. However, this approach requires time to track down the cause and delays response. Understanding how the reported event fits into the overall state of the network requires time and effort: time used by an attacker to accomplish additional steps leading to the target.
A better approach is a comprehensive log management solution. Commonly known as security information and event management (SIEM), this type of solution gathers information from across the network. Once information is aggregated, a correlation engine looks for patterns. When a pattern falls outside what is expected for an organization's unique network/device operations, the SIEM sends an alert. At this point, responders have a clear picture of the overall activities involved in a possible attack.
  • Incident response. It's unrealistic to believe an organization will never be successfully attacked at some level. Monitoring helps detect unwanted behavior, and it's supported by quick and effective response to probable attacks. Incident response requires policy, processes, and team training to be effective. The quality of any response directly affects the impact of an attack.
Controls implemented and managed due to the above processes must include prevention, detection, and response elements. Within each of these, controls related to physical, logical, and administrative security are necessary. For more information on control types and related controls, see Enterprise Security: A practitioner's guide - Chapter 1.

The final word

No organization is truly immune from cyberwarfare activities. If attacking a network provides sociopolitical value, that network is a probable target. Relying on government intervention or cooperation to protect private and public industry infrastructure is unreasonable. It's up to each of us to take steps to secure our information resources and the processes they support.
We don't have to look far to find guidance for achieving reasonable and appropriate protection. Mature standards of best practice already exist. It simply takes a shift in perspective at the management level to begin integrating security into every facet of business operations. The perspective needed is one of accepting cyberwarfare as a growing reality and defense as a cost of doing business.

Cyberwarfare: Mounting a defense - TechRepublic

Monday, August 12, 2013

Review: Brackets open-source code editor

Ryan Boudreaux introduces a new open source code editor, still in its early stages, called Brackets.
Brackets is the relatively new and still evolving open-source editor for web design and development built with web technologies such as HTML, CSS and JavaScript. The project was created and is maintained by Adobe, and is released under an MIT License, which is thought-provoking since Adobe has a lot of equity already invested in other text and code editing tools such as Dreamweaver.
The driving force of Brackets is that it is for the web and by the web, meaning that as a software application, it is built using the same technologies that build the web. Their catch phrase, "If you can code in Brackets, you can code on Brackets." Brackets is a fully open-source and community project where developers contribute to the build, and if you are interested in influencing the direction of the project, any interested developers are welcome to join Brackets Dev Google Group to get on the build list. Since Brackets is still young, I would not recommend it for your routine coding tasks; however, if you like cutting edge applications you might enjoy examining some of the clever and creative features.

Test drive Brackets

The initial versions became available in May 2012; the current milestone downloads are available on GitHub Brackets, and as of this writing, Brackets Sprint 17 in both MAC.dmg (23.9MB) and Windows.msi  (21.6MB) versions are dated November 30, 2012, available as zip or tar.gz compressed files. In all, there are sixteen downloads of eleven versions with 24 branches and nineteen tags. The current build is still in its infancy and not deemed a full-featured code editor just yet; it is considered a beta release and ready for early adopters to start playing around with the tool at their own risk. I gave Brackets a test drive myself as displayed in Figure B:
The top level menu bar offers the typical options including File, Edit, View, Navigate, Debug, and Help. From the File menu item you can create a New File or a New Folder, as well as Open File and Folder --nothing really new here. By default, Brackets opens up to its own source code, where you can see the HTML, CSS, and JavaScript backbone of the application. The Debug menu provides a nifty Show Developer Tools (F12) which opens in your default browser (Chrome in my case) and allows you to view the Elements Computed Style, Styles, Metrics, Properties, and Event Listeners for the open file as shown in Figure C:
To create a new file, simply go to File, New File (Ctrl+N) and type in the file name. In this demonstration, I am naming the file index.html, and then the plain file is created and the cursor starts at line 1, as shown in Figure D and E below.

Figure D


Figure E


I then copied and pasted in a snippet of HTML code from my HTML5 Base Template as shown in Figure F:
Next, I've added in a header
and
with an

and

along with a paragraph and some content as shown in the code snippet below:
      
        

            The Start of Something New!
        

        

            Get your Game On!
        
      
     
         
            
                The content goes here...
             
         
Another one of the features I like about Brackets is the live preview option which can be selected from one of several ways, either from File, Live Preview (Ctrl+Alt+P), or from the lightning bolt at the top right of the Brackets window, as shown in Figure G and H below.

Figure G


Figure H


Another great feature that I enjoy with Brackets is the built in automatic refresh upon saving the file. As you continue to edit the open file, the live preview continues to update once the file is saved without having to refresh the page in the browser. I've entered a few more lines of content with paragraphs. Once the file is saved, it is automatically updated in the live preview in the browser window; this effect is displayed in Figure I:
You can also edit styles with CSS and view the updates on the fly in the browser as well. I've added in an associated CSS file and linked it from the head of the original index.html file; then, I've incorporated a bit of simple styling for the
,
and elements. The CSS code snippet is displayed below:
header {
    font-family: Helvetica;
}
article {
    background: beige;
}
p {
    font-family: ariel;
    font-size: 1em;
    font-weight: bold;
}
Once you attach a new file such as the styles.css you do need to refresh the browser preview, and from then on your updates are displayed in the preview. As you edit the selected element within the CSS, it becomes highlighted within the live preview as shown in Figure J. As you make an edit in the CSS, the live preview adjusts on the fly.

Figure J


From the Navigate menu item another nifty tool is the Quick Edit (Ctrl+E). With this you can click on any element you are working on within the HTML and use the hot keys, or go to Navigate | Quick Edit and you'll see the associated style pop up for editing purposes. So, let's say you want to edit the
element style. You would click anywhere within the
element tag and then use the hot key combination Ctrl+E to make any edits in the Quick Edit window. When you are done, just toggle out of the Quick Edit by hitting the Ctrl+E key stroke again. The edit is also populated in the live preview automatically. With the Quick Edit in action on the
element, I've added in a padding of 10px into the style and this is displayed in Figure K:
As you can see, the live preview automatically updates with the new style of 10 pixel padding added to the
element. Other options include the ability of adding new styles to the CSS from the Quick Edit, where you can add in other styles for elements without having to jump into the styles file itself.

Extensions

At this time, Brackets does not have any functionality for self-discovering or installing any extensions, but there is a list of Brackets Extensions on GitHub that several people have built. All you do is select the extension that is useful for your project, download it, and then copy it to the User directory under the Extensions directory in the Brackets installation. With over forty listed, the extensions include the following subjects:
  • Code/Text Editing
  • Code Generation
  • Quick Open Support for PHP
  • General Functionality
  • Live Development
  • Visual Editing
  • External Tools
  • Linting and Warnings
Once the extension is placed into the extensions directory, go to Menu and click through Help | Show Extensions Folder | User, and then click on the extension you want to include. Typically you will need to close and then restart Brackets for the extension to be installed. Once your extension is installed it will show up at the top menu bar along with its associated menu item options.
This short piece is only a brief overview of the Brackets open source editor, and while it is still in the early stages of development, it is nice to see folks like Adobe opening up an open source development project for public inspection and engagement. Brackets might be too new for some folks, but others are taking it to new levels with development and extensions that are sure to make it one of the blistering open source text editors in 2013 and beyond.


Review: Brackets open-source code editor - TechRepublic

Easier file recovery with Undelete Pro

Derek Schauland offers an overview of the Undelete Pro file recovery tool that could offer an extra layer of protection to data that is mistakenly deleted.
Keeping files that are no longer needed cleaned off of your computer is all but a must given the number of files, documents, downloads and other things that are processed in a given day. Deleting files and emptying the recycle bin regularly is great for freeing up disk space, but sometimes users are a little too eager to get rid of unwanted files, only to desperately need to retrieve them later. And we've all managed to mistakenly delete files
Windows 8 and earlier versions of Windows support the recovery of previous versions of files and folders, which can help with changes lost due to a crash or missing files since a last save, but for some recovery situations, you might need a few more options. Condusiv has released a new version of Undelete Pro that helps to solve the issue of deleting files that must be retrieved in their original state.

How does the application work?

Undelete Pro is designed for business use and can recover files from network locations as well as the local computer. It does this by using its own iteration of the Windows Recycle Bin and a filter driver that redirects deleted files to the recovery bin. Any deleted files are redirected, which can allow for some pretty decent recovery options. This includes files deleted from network shares, command line deleted files, and files deleted when existing versions of an office document are overwritten. The idea that a simple save/replacement of an office document can be recovered is great.

Recovering files

To get started, open the Undelete Recovery bin application and tap or click Yes when prompted for UAC.
The Undelete application window opens and the Filter selection dialog appears (Figure A) to allow you to select the drives that should be scanned and any file type filtering that might need to be done.

Figure A


Filter your search
The available options for filtering are:
  • Select Drives - specify the disks to search for files
  • Search all files - search for any file types
  • Specify Search Parameters
    • Select a time - specify the time window for the search: None, Last 24 Hours, Last 7 Days
    • Specify Application - Choose the application that created the file: None, A Microsoft Word Document, a Microsoft Excel Document, a Microsoft PowerPoint Document
    • Filename - specify all or part of the file name to search for
After configuring the filter settings, tap or click OK. The search based on the filter selections will begin as soon as the settings are saved.
In the center pane (Figure B), the list of found files is displayed.

Figure B


Found files
Tap or click the files you want to work with in the list to select them. The selected files are then shown in the bottom of the window along with the details of the file(s):

Figure C


Selected file details
Once files have been selected, select the location options for restoration by choosing to restore the file(s) to the original location or to somewhere else. Another option available for the restoration is to open the file after it is restored.

Figure D


Options following the restoration of files

Other options available in Undelete Pro

Selecting the menu in the top left corner of the main window displays the following options:
  • Recover Files - use this option to clear the window and restart the search process
  • Dig Deeper - search for files that might exist in the free space on the selected drive
  • Change Settings - modify additional program settings in Undelete
  • Connect to Network Share - specify a network share and credentials to search other resources
  • Help - Display documentation for Undelete Pro
  • Check for Updates - connect to the Internet for updates to the applications
  • Register - register Undelete with Condusiv
  • About - Display the version information
The Change Settings dialog is shown below:

Figure E


Additional application settings
The settings that can be modified include changing the location of the recovery bin, which defaults to individual drives but can be consolidated in to a single location. On each detected disk, you can set the size of the recovery bin and the number of days that files will be kept before being removed.
Additionally, Undelete can be configured to securely delete files. Using this option skips the recovery bin and erases the files completely, disallowing their recovery.

Digging deeper

The Dig Deeper features of Undelete gives you the ability to search the free space on a disk for lost files. In the event that an area of a disk has been zeroed or erased, there may still be information there even though its contents have been removed. Undelete will find the files there and allow them to be recovered.
Figure F shows the search options for the Dig Deeper feature.

Figure F


Searching the free space for lost files

What does Undelete Pro cost?

The pricing for Undelete Pro is available here. The online cost is $59.99 per license of the application. Condusiv does offer volume discounts; for details about that pricing you will need to request a quote online.

Use case examples

Reduce help desk calls for file recovery When a co-worker misplaces a file or folder full of information they need, this can be catastrophic. Likely calls to the help desk to locate the last copy of the file that was backed up can be expected. The problem here is that backups are usually taken during non-business hours, which may or may not be recent enough. If the person who needs the document has made significant changes to the file since the last backup and needs to recover it, these changes will be lost as they did not exist when the backup was performed. The next problem here has to do with restoration. If the IT staff needs to spend a lot of time configuring and restoring the files that went missing in one or two cases, the cost of the restore could be counterproductive to the organization.
Undelete would allow the person needing the recovery to view files that were deleted and choose the files to restore. They can be restored to their original locations or to another place on the disk in the event that the existing copy still holds value for that person.
Remove the need to keep files in the recycle bin I have worked with many people who for one reason or another do not like to empty the recycle bin on their computer because there might be something in there that they need. I am guilty of this to a point, in that I tend to let things pile up for a while before emptying the folder, but I do not keep files in there for later use.
Since the file is in the recycle bin, but hasn't been removed yet, the idea is that it is out of the way and has been deleted. Undelete can decrease this type of behavior by allowing people to recover files they have removed from their recycle bins.
Bottom line Having used Undelete Pro to get an understanding of the application for this review, I think the cost is minimal enough that it isn't a barrier to entry. The knowledge that files are recoverable even after deleting them is a real stress reducer. Being able to be more liberal with file removal, but knowing I can go get things if I need them down the road is great. I would still encourage files to be stored on the network where they can be backed up and retrieved in the event of disaster, but for those cases where the missing file is of immediate importance Undelete Pro could be a real gem to have installed. For me personally, the product might have saved a considerable amount of work on a recent project.


Easier file recovery with Undelete Pro - TechRepublic

Five free portable recovery tools

Undelete files, recover data, and fix damaged partitions with the help of these handy portable apps.
Sooner or later, recovery will be a necessary task for every IT administrator. People lose data, either by accidental deletion or thanks to problematic partition tables. No matter how the data gets lost, you'll need a reliable tool to get the recovery job done. But you can't always rely on an installed tool and have to make use of a portable tool. Here are five tools that can help you with partition recovery and file recovery. All these tools are free and can be placed on a flash drive for portability.
Note: This list is also available as a photo gallery.

1: Portable Data Recovery

Portable Data Recovery (Figure A) is one of the Pendrive Apps and does a great job of recovering data from FAT, FAT16, FAT32, and NTFS partitions. It's less than 500K and can recover some compressed and encrypted files. Portable Data Recovery also includes a wipe tool that will allow you to permanently delete a file to protect deleted sensitive data. When you recover data, make sure you recover to a drive other than the one the data is recovered from.

Figure A


Portable Data Recovery

2: TestDisk

TestDisk (Figure B) is a partition recovery tool that can help you recover lost partitions and make bootable non-bootable drives. This is one of those tools you hope you never have to use, but when you do have to use it, you'll be glad you have it and hope it works. It does work well. However, the success of the tool depends upon how badly damaged the partitions are. TestDisk can fix a partition table, recover a deleted partition, rebuild or recover NTFS, FAT boot sectors, fix MFT, and undelete and/or copy files from NTFS, FAT, ext2, ext3 file systems.

Figure B


TestDisk

3: Recuva

Piriform's Recuva (Figure C) offers tons of features for a portable app of this nature. With it, you can undelete files, recover data from a damaged disk, recover deleted iPod music, and restore unsaved Word documents. Recuva also has an easy-to-use quick start wizard, can do deep scans, and can securely delete files.

Figure C


Recuva

4: Wise Data Recovery

Wise Data Recovery (Figure D) allows you to recover Word documents, photos, email, audio, video, archives, and much more. What is unique about Wise Data Recover is that it will indicate the condition of the file to recover. You get immediate feedback after a scan indicating whether a file is Good, Poor, Very Poor, or Lost. Obviously, if a file is Lost, you won't be able to recover that file. But if the file is Good, you'll probably get that data back. The interface for Wise Data Recovery is clean and the app a snap to use.

Figure D


Wise Data Recovery

5: Restoration

Restoration (Figure E) allows you to easily restore files that were deleted from the Recycle bin or directly deleted from Windows. It lets you quickly scan upon app startup, limit search results with search strings (or extension), and securely wipe files beyond simple recovery. Restoration works with FAT, NTFS, and SD cards. Use caution when running this app, as it "offers" to install third-party software. Pay close attention when running the executable.

Figure E


Restoration

Your picks

Data and partition recover is a tricky business. It's never a sure thing, so go into testing these apps with that in mind. Even if you're able to recover data, it's not always certain that it will be completely intact. Maybe you'll never need these tools. But if you do, it's good to know there are portable recovery apps available to use.
What portable recovery apps are in your toolkit? Share your favorite with other TechRepublic members.


Five free portable recovery tools - TechRepublic

Review: File Scavenger 4.1


Looking for a thorough and refined file undelete app can be a challenge, but Matt Nawrocki thinks he may done just that.
Yes, it certainly is a travesty to have your data accidentally deleted, particularly if you have a pressing project you're working on and time is of the essence. With file recovery, time is not your friend, and you need a tool that can recover your documents as fully as possible. There are many contenders in this space, but there are only a few apps that seem to actually work and not spout off fake results and recovery metrics. Today, we will look at File Scavenger 4.1 from QueTek Consulting.

Recover deleted files

Product Information

  • Title: File Scavenger 4.1
  • Company: QueTek Consulting Corporation
  • Product URL: http://www.quetek.com/prod02.htm
  • Supported OS: Windows 2000, XP, Vista, 7 and 8.
  • Price: $49.95 for personal edition / $89 for personal edition with RAID reconstruction / $185 for professional edition
As far as file recovery programs go, File Scavenger 4.1 comes with a rather impressive array of features. For instance, not only are you able to process scans and dumps on Windows-based file systems like NTFS and FAT32, but you are also able to touch disks formatted for Linux, BSD and Mac OS X. There is also largely improved 4K sector support, compared to previous releases, as well as ability to read and write to dynamic volumes.

 The installer gives you a choice to run or install

Highlights

When I fired up File Scavenger's installer application for the first time, I was given the option to either install the software to disk or run straight away. Obviously, in the case of a delicate operation such as recovery, installing the program is likely to cause more harm than good to any deleted files that exist on the hard drive. Such an option is welcome. Of course, you will need to provide your license code every time you use this option; so it's best to keep your registration information handy if you want to actually restore any data.
With the interface displayed in all of its shining glory, I found everything to be rather straightforward. For my tests, a JPEG file that I had saved to the documents folder was deleted as well as a text file. I chose the C: drive and performed a full scan in order to pick up every last deleted file I could, hopefully without any falling through the cracks. Impressively enough, File Scavenger found all kinds of deleted data that ranged from the present to nearly two weeks ago in age. I localized my search and, sure enough, my text file and JPEG image were within the file list.


File Scavenger gets to the point and leaves no stone un-turned
Now although the text file came back to life without incident, the image in question didn't quite make it. I went into the preview mode to check the file before restoring and I saw a light pink distortion all over the image. It appeared as if nearly all the color was stripped out. I'm not entirely sure why a file that was deleted just mere moments ago looked like a wreck, but I could at least make out the details. Oddly enough, older images that were deleted did come back just fine, which leads me to believe that ultimately, your mileage may vary.


As one can see, the results might not be favorable, even for files deleted moments earlier






Something that I found quite interesting that doesn't seem to be present in most other file recovery applications I have sampled to date is a feature for recovering files from a broken RAID array. Simply click the "Advanced Volumes" button and you are presented with a window that grants you the ability to restructure a spanned or striped volume (RAID 0 and RAID 5 configurations supported) as well as pull from any parity information stored on volumes in order to enhance recovery procedures. Unfortunately, as I did not have a RAID array in my test environment, this feature mainly went unused.

Bottom line

For the asking price of $49.95 (and $89 for the ability to reconstruct RAID sets), the treasure-trove of features that File Scavenger contains is impressive. The support for different disk layouts and file systems in particular grants this utility an edge over other Windows-based file recovery suites. If you are willing to spend a bit, you are likely not to be disappointed.
As a final note, the cheaper versions of this app are designed to be actively tied to one machine per license. However, the professional license, which is offered at a rather pricey $185, is tied to the registrant rather than to a machine, allowing you to use one copy to support any complement of machines within a business. For some, the extra coin in exchange for added flexibility might be worth it in the end.

Review: File Scavenger 4.1 - TechRepublic




New strain of ransomware evades detection by AV apps


Learn about a new type of ransomware that has the potential to snare many victims - and it's not even malware.
Since you’re here at TechRepublic’s website, I’m betting you are familiar with ransomware, and how to avoid being conned by it. The trouble is there are millions of people who aren’t. That alone ensures ransomware will continue to cull people of their hard-earned money. To make matters worse, there’s a new version winding its way through the Internet. And, those in the know predict what’s being called HTML ransomware will be more successful than previous versions.

HTML ransomware

I first learned about HTML ransomware from Jerome Segura, Senior Security Researcher at Malwarebytes, and his blog post, "FBI Ransomware Now Targeting Apple’s Mac OS X Users." Initially, I was suspicious; OS X is not vulnerable in the same way Windows operating systems are, so what’s up?
As I continued reading, I learned the only requirements for HTML ransomware to work are JavaScript must be enabled, and the victim’s web browser incorporates the “Recover browser session after a crash” feature, which is part and parcel to all major web browsers -- including Chrome, Firefox, Internet Explorer, and Safari.
Here’s what HTML ransomware has going for it:
  • Does not require installation.
  • Disabling JavaScript breaks many popular websites; so people aren’t willing to turn off JavaScript, something the bad guys are relying on.
  • AV applications, even with current malware signature sets, are of no use against HTML ransomware.

How it works

One way the scam starts is when an unlucky person selects a search result with a falsified link. Instead of the expected web page being presented, the victim’s web browser loads something similar to the following slide (courtesy of Jerome Seguro and Malwarebytes). 


 



Again, you aren’t fooled, but perhaps less computer-savvy friends and relatives might be.
While the victim is coming to grips with the above screen, associated JavaScript code is loading copies of the same screen (150 typically) onto the browser. By creating a 150 iFrame loop, HTML ransomware gives the impression the computer is locked up. Ironically, if the victim is determined, leaving the web page, and revisiting it 150 times will remove the problem.
I doubt I’d even consider reloading the web browser that many times; my inclination would be to reboot the computer, but that doesn’t help either because HTML ransomware taps into the “Recover browser session after a crash” feature I mentioned earlier, bringing the same FBI screen back up.

It’s not malware

Something else that makes HTML ransomware unique: by most definitions, it’s not malware. It is a snippet of JavaScript code readily available on the Internet that digital extortionists use to fool victims by controlling what is visible in the browser window. No other computer function is affected, at least as of this writing, but Jerome mentioned the potential is there, especially for Windows-based computers.
It not being malware is why HTML ransomware is a great idea for the bad guys: simple to set up, easy to move to different domain names, and no concerns on how to install code onto computers. To see if bad guys agreed, I asked Jerome how many instances of HTML ransomware he has seen?
“This ransomware is quite active; bad guys are registering new domain names several times per day. While it is not malicious (as opposed to ransomware that infects your PC), it’s still scaring people.”

How to tell if it’s HTML ransomware

Web browsers lock up for all sorts of reasons, so I asked Jerome how we would know for sure, if HTML ransomware caused the lockup:
“The browser being locked may not be ransomware in all cases. I can think of many sites that use annoying JavaScripts to keep the user on the page (pop-ups that ask ‘are you sure you want to leave this page?’). HTML ransomware is characterized by the following:
  • Warning from the police
  • Fee to be paid using a voucher
  • Computer or browser locked
"If those three elements are in place, it’s HTML ransomware.”

How to get rid of HTML ransomware

Jerome did a thorough job of explaining how to remove HTML ransomware from Safari in his blog post, but missed explaining what those using other operating systems should do. I asked him what others should do:
“I recommend ending the web-browser process(es) after first having disabled JavaScript. Simply killing the web-browser process will recover the ransomware page and put you right back where you started.”
There is a possibility you may not have to worry about HTML ransomware if your antimalware provider is on top of the situation like Malwarebytes. Jerome explains:
“Malwarebytes has a large database of malicious sites that we constantly update. Our PRO users are protected against malicious websites as they pop up. This is due to our ability to blacklist entire IP ranges since we know they are only used for criminal purposes; any new website registered on those will be automatically blocked.”

Final thoughts

At first, I felt that HTML ransomware was not a big deal. But, it did not take long for me to realize darn near everything we do computer-wise involves the web browser. And, if the web browser appears to be locked up, it will seem like a huge deal.
Since this attack is easy to fix, it would be a shame to have those who do not understand what’s going on even for a second consider paying the ransom. So, please, let’s get the word out on HTML ransomware.
Once again, I owe a debt of gratitude to Rebecca Kline and Jerome Segura of Malwarebytes for helping me sort through the intricacies of HTML ransomware.

New strain of ransomware evades detection by AV apps - TechRepublic

Corporate espionage or fearmongering? The facts about hardware-level backdoors


Spying accusations against Chinese companies like Huawei have resulted in bans by US, UK, and Australian government agencies. Is there any technical merit to these charges?
Over the last few years, accusations of unlawful spying have been made against some of China’s largest technology firms. Among the people making the allegations are former NSA and CIA head Michael Hayden, as well as in a 2012 House Intelligence Committee report. Accordingly, various government agencies in the United States, Canada, Australia, the United Kingdom, India, and New Zealand have banned the use of equipment made by various Chinese manufacturers under fears that hardware-level backdoors could exist in these products.
But, how feasible could creating such a backdoor be? In the age of the Web, and with organizations like iFixIt tearing each new gadget they can get their hands on apart, typically within a day of launch, how could such a backdoor be deployed without anyone noticing? A closer look into the claims being made and their technical feasibility is vital to understand if the accusations have merit, or are just fear mongering.

Lenovo

Out of the companies targeted, Lenovo Is the most visible to consumers and IT professionals. Lenovo largely became a household name across the world after buying up IBM’s PC business in 2005. Lenovo is partially owned by the PRC, through some abstraction: the state organization “Chinese Academy of Sciences” (CAS) owns 38% of Legend Holdings, which is Lenovo’s largest shareholder at 34%.
Lenovo hardware is reportedly banned from the US CIA, as well as the UK’s MI5 and MI6, as well as the Australian Security Intelligence Organization (ASIO) and Secret Intelligence Service (ASIS). As of the time of writing, no evidence of any wrongdoing on the part of Lenovo has been presented by any of governments who have banned their hardware from use in intelligence services.
On devices as open as computers, and especially with Lenovo’s ThinkPad product line, which has been long venerated for being foremost among laptops designed with modularity in mind—featuring detailed disassembly manuals and readily available replacement parts—it is difficult to imagine that many opportunities exist to hide a hardware backdoor in a relatively open product. Combined with the fact that the vital components (processor, RAM, etc.) aren’t made by Lenovo, there are few opportunities for Lenovo to introduce a hardware-level backdoor in a way that wouldn’t be glaringly obvious to any engineer armed with a screwdriver.
Of note, it is important to remember that the BIOS/UEFI which ships on computers is controlled by either Phoenix Technologies, a California company, or American Megatrends, Inc., a Georgia company. The chances of a BIOS-level exploit are low, but it remains a technical possibility. For software-level exploits, best practice is always to wipe the drive of a new system and include a fresh installation of the operating system of your choice. This approach also does away with unhelpful crapware one typically finds on a new computer.

Huawei

The recent criticism of Huawei has come primarily from ex-CIA and NSA head Gen. Michael Hayden, where, in an interview, he stated that Huawei has engaged in espionage on behalf of China. It is vital here to note that Hayden currently serves as a Director of Motorola Solutions, a competitor to Huawei. It is similarly important to note that Huawei and Motorola Solutions have been in a lengthy Intellectual Property dispute, which was settled in 2011 with Motorola paying an undisclosed sum to Huawei.
Huawei’s statement on the comments made by Hayden called it “tired nonsense we’ve been hearing for years” and “politically-inspired and racist corporate defamation”.
The technical merit behind the argument of Huawei spying on users is given life from the frequently opaque and closed nature of telecommunications equipment. Mobile phones are as closed off to the user as is possible to prevent tampering or unauthorized modification to the software or firmware to prevent users from accessing things that carriers typically charge more money for, such as tethering to a laptop. In turn, networking equipment is as closed off to the user as is possible to prevent particularly enterprising individuals from modifying their modems to do any number of undesirable things to the detriment of other network users. In short, there isn’t a level of mutual trust between vendor and user, which has breathed life into claims of espionage.
Cognizant of those concerns, Huawei offered to disclose the source code to its products to be considered for a bid to build the Australian National Broadband Network (NBN), a process which it has been formally excluded from. This gesture has not dissuaded the NBN authority from barring Huawei the opportunity to submit a bid for building the network.

ZTE

The case against ZTE is quite a bit stronger than it is against Lenovo and Huawei; actual evidence has been produced of a backdoor existing in a ZTE product. Last May, a backdoor was identified in the ZTE Score M, a budget-minded smartphone for US prepaid mobile carriers MetroPCS and Cricket. ZTE released a patch for the phone shortly thereafter, calling the exploit a “technical defect” that exposes units to “potential third-party exploitation”.
In this instance, it might be more prudent to rely on Hanlon’s razor: Never attribute to malice that which is adequately explained by stupidity. However, carelessness on the part of ZTE is all that a hacker—state-sponsored or not—requires to obtain sensitive information. If there is a reason to avoid ZTE products, it would be because of their lacking quality, or at least quality assurance procedures, not because of their complicity in spying. To their credit, the issue was patched quickly after it was discovered.

Final thoughts

The players in this debate appear all too willing to point fingers without providing hard evidence to support their claims. Surveillance activity has been a recurring topic in the news over the past several weeks, bringing worries of potential security threats to the forefront. The firms having accusations made against them are easy targets for their geographic location and business operations. However, hardware-level exploits are much more difficult to deploy without detection, and are more obvious than software exploits, which will likely continue to be the primary attack threat for the foreseeable future.

Corporate espionage or fearmongering? The facts about hardware-level backdoors - TechRepublic

Sunday, August 11, 2013

Does using encryption make you a bigger target for the NSA?

Fact: The U. S. government is capturing data from its citizens. Fact: Encrypted data is of more interest to the U.S. government. Michael P. Kassner asks two experts, one legal, one cryptographic, what our options are.

Soon after the Guardian released the first of many whistleblower documents, describing NSA domestic spying activities in the United States, readers began asking, "Because of all the snooping, should I start encrypting my email?" The answer seemed simple....
Answering the question of whether to encrypt or not became significantly less simple a few weeks later when the Guardian released Minimization Procedures Used by the National Security Agency, a document gleaned from the U.S. Foreign Intelligence Surveillance Court by Edward Snowden. Section Five of the paper is of particular interest (courtesy of the Guardian).

Section Five's ensuing paragraphs discuss what "that" is. Subsection One and Subsection Two lay out what content (foreign intelligence and criminal evidence) will flag domestic communications for retention and investigation by government agencies. Subsection Three, nicknamed the "encryption exception" is the real attention-grabber (courtesy of the Guardian).

What's on the table?

Section Five's lead paragraph affirms what privacy pundits, up until now, could only assume to be true; U.S. government agencies are gathering digital data belonging to U.S. citizens. Next, Subsection Three sheds light on something not expected. All encrypted communications are suspect; meaning government agencies can retain encrypted communications at their discretion, and keep them for as long as the controlling agency deems necessary.

More questions

Before long, another email onslaught hit my inbox. Concerned readers were now wondering, "If I start encrypting my email, does that mean I'm more likely to attract NSA attention?" Another question being asked often, "What are the odds of the NSA being able to read my email if it's encrypted?" All three questions are excellent, each deserving an answer. So I got to work, flipping through my digital rolodex, looking for two expert sources: one legal and one cryptographic.

First up, legal

You may remember attorney Tyler Pitchford. He helped me with this article about cloud-service contracts and their unintended consequences. Tyler is uniquely qualified, being intimately familiar with Information Technology and appellate law.
I began by asking Tyler the reader's initial question: Because of all the snooping, should I start encrypting my email? Here's what he said:
It seems that a proper answer requires delving into the different scenarios end users may encounter. Casual users: If you're a casual user who is not worried about government intrusion, but is worried about a script kiddie getting into your files, then encryption is an acceptable solution. There are few, if any, non-governmental entities that could crack modern encryption as long as an acceptable encryption key is used. Privacy advocates: These are people who do not see any reason for people to be in their business (secret or otherwise). For them, the question becomes whether to be more worried about the government reading their unencrypted data, or the government retaining their encrypted data until it can be cracked. Or maybe both, in which case, they can revert to old-school methods:
  • Coding data in a non-suspect format: If the data isn't identifiable as encrypted, it will probably pass through the encryption filters.
  • Deliver the data in person: Doing so avoids encryption filters, but could result in physical monitoring.
Those with something to hide: Those with something to hide fall into two categories:
  • Low-priority targets: For those who consider themselves low-priority targets, encryption is probably fine. What they have to hide isn't worth the government spending resources on.
  • High-priority targets: People in this category will have the same problem as privacy advocates, wanting to encrypt their data, but without alerting the government. I suspect people in this category will physically exchange encrypted data. And, if they were going to chance sending encrypted data digitally, they will probably rely on some form of obfuscation to avoid encryption filters.

Next question for Tyler

Okay, Tyler, now the tough question: "If I start encrypting my email, doesn't that mean I'm more likely to attract NSA attention?" Tyler had this to say:
I've spoken to security researchers who believe all modern encryption methods have been broken -- encryption is dead. If you rely on that assumption, plus the knowledge that encrypted files are being stored indefinitely, then encryption is indeed asking the government to investigate. Legally there is some basis for this argument. One decision out of Minnesota held that "appellant's Internet use and the existence of an encryption program on his computer was at least somewhat relevant to the state's case against him."
More recently, in US v. Cotterman, the 9th Circuit Court of Appeals held that "password protection of files, in isolation, will not give rise to reasonable suspicion . . . ." The court explained: "[t]o contribute to reasonable suspicion, encryption or password protection of files must have some relationship to the suspected criminal activity." Obviously, "some relationship" is a broad category but it's better than carte blanche.

Tyler's approach

I had one last question for Tyler; I asked if he used encryption:
I'm a privacy advocate; I feel no one should be meddling in my affairs. At the same time, I'm limited by the realities of time vs. convenience. I take measures to protect sensitive data, especially client files.

Next up, cryptography

I can't think of anyone more qualified to talk about cryptography than Phil Zimmermann. His list of accomplishments is impressive: creator of PGP encryption, Internet Hall of Fame inductee, and currently President and Co-Founder of Silent Circle, a mobile communications encryption service I wrote about last year.
As I reread that article, I was struck by Phil's foresight. In the article, I asked Phil if we learned anything in the twenty years since his protracted battle over the legality of PGP. Here is Phil's response:
I'd like to think we have. Anyone knowing the history of PGP realizes it was quite a battle, and we won. I'm afraid we are in the midst of another battle. What I call the "rising tide of surveillance." And, I'm taking direct aim with Silent Circle.
That interview took place a year ago.
To get things rolling, I mentioned to Phil that readers are concerned encrypting digital communications will attract the NSA's attention, not something in their best interest. Phil answered by asking if I remembered the movie, I am Spartacus? I said I did; it had a great cast of actors.
Phil next zeroed in on the scene where everyone stood up, everyone said they were Spartacus, all wanting to remain steadfast in their solidarity. Phil then drove the point home saying that is what everyone needs to do right now, stand up and retake their privacy.

Silent Circle

Next, I asked Phil about the encryption question from the readers: What are the odds of the NSA being able to read my email if it's encrypted? I had a pretty good idea what Phil would say.
Phil firmly believes that PGP and Silent Circle are not breakable. He designed both. And, Silent Circle has been available the past eight months for peer review and stands firm. Phil wanted it known that both PGP and Silent Circle are open source and publicly available. I have not forgotten his famous quote:
You can't trust crypto if you can't read the source code.

 

Final thoughts

I hope I have been able to somewhat answer your questions. I'd like to end with the following quote exemplifying our need to be careful when we feel there is "nothing to hide":
By joining pieces of information we might not take pains to guard, the government can glean information about us that we might indeed wish to conceal. For example, suppose you bought a book about cancer. This purchase isn't very revealing on its own, for it indicates just an interest in the disease. Suppose you bought a wig. The purchase of a wig, by itself, could be for a number of reasons. But combine those two pieces of information, and now the inference can be made that you have cancer and are undergoing chemotherapy. That might be a fact you wouldn't mind sharing, but you'd certainly want to have the choice.
The quote is from Why Privacy Matters Even if You Have Nothing to Hide, an essay written by Daniel J. Solove, Professor of Law at George Washington University.
I'd like to thank Tyler Pitchford and Phil Zimmermann for their help in answering our questions.


Does using encryption make you a bigger target for the NSA? - TechRepublic


The NSA and Big Data

While your company may not be subjected to the global scrutiny befalling the NSA and U.S. intelligence gathering apparatus, the "Big Snooping" capabilities engendered by Big Data must be used in a clearly delineated and responsible manner.

IT used to be a relatively benign and controversy-free field, but recent events have technologies like Big Data hitting front-page news around the world. Recently, a government contractor revealed that one of the US intelligence organizations, the NSA, was capturing metadata of every phone call that transited US-based switching networks, creating a firestorm of controversy. Big Data suddenly became a household phrase as the technology was repeatedly cited as making this level of data capture and analysis possible.
Opponents of the program cited privacy concerns; if the US government could track the source, destination, and duration of every phone call, as well as the originating device and cell tower, it amounted to reporting to the government where you went, to whom you were talking, and the frequency of conversations with certain individuals. Despite assurances that the content of calls was not monitored, the data gathered were arguably intrusive and in violation of US privacy protections.
Interestingly, proponents of the program used arguments that would be familiar to anyone who has observed the PR response of a private company run through the press wringer for capturing intrusive data on its customers. Government representatives from the President down argued that this program had been disclosed, much like the fine print in a 10,000-line "Terms and Conditions" statement that users blindly agree to in order to use the service. Advocates of the NSA program also cited its benefits in a fashion that would make a social media company's PR spin master proud: human lives were saved (although, unfortunately, no one can provide the "top secret" details).
Like many a tool, just because a powerful capability exists doesn't mean it should be used everywhere and with complete impunity. As companies deploy Big Data, it's easy to capture every iota of data available and rest easy, assuming that the lawyers have covered all the bases in their mercurial Ts and Cs, and that users are knowingly surrendering all their personal information in order to use the fantastic service you've provided.
In theory, government is significantly more transparent than most private companies, with elected officials protecting the interests of constituents and "customers" having a direct ability to change policy and ultimately throw "management" out the door at election time. The visceral reaction to the NSA Big Data program demonstrates the peril of capturing and aggregating sensitive information in relative secret, even if the program has been legally "disclosed."
A public that may have been blissfully unaware of the capabilities of Big Data has now been shown its vast reach and analytical abilities. Rather than assuming users are aware of what you're capturing and are chomping at the bit for you to offer more finely targeted advertising and customer segmentation, why not disclose your data gathering activities in plain terms and highlight how those data are used and what benefits the customer can expect. "Transparency" has become overused to the point where it's meaningless, but it's obviously not an 80-page "privacy policy" or other legal self-indulgence.
While your company may not be subjected to the global scrutiny befalling the NSA and US intelligence gathering apparatus, the "Big Snooping" capabilities engendered by Big Data must be used in a clearly delineated and responsible manner. An increasingly savvy public is expecting to know how their behaviors and data are being monitored, measured, and sold. Disclosing this information and how it benefits customers can be a competitive differentiator, capturing customers who flee less transparent competitors.

The NSA and Big Data - TechRepublic

How Android can beat Apple in the tablet space

Android has stolen much of Apple's thunder in the smartphone space, and Patrick Gray believes that it can make the same progress in the tablet space.

Exact market share numbers for tablets are difficult to come by. Depending on whom you believe, Apple's iPad may own as much as 80% of the tablet market -- or it may be dipping below 50%, with Google's Android-powered tablets nipping at its heels. Anecdotally, however, the iPad remains the tablet to beat, with the device nearing "Kleenex status," as I can attest to by being routinely asked "What kind of iPad is that?" when using my Microsoft Surface RT tablet aboard an airplane. Android has stolen much of Apple's thunder in the smartphone space, and a string of high-profile devices from the likes of Samsung have the iPhone and Apple's stock price feeling the pressure. So, how can Android make the same progress in the tablet space?

Forget the magic and show me the money

There's a fair argument to be made that Apple's biggest recent innovation on the tablet front, the announcement of the iPad Mini, was largely a response to Android's success on smaller, lower-cost tablets like the Amazon Kindle HD and Nexus 7. For consumers and businesses alike, $400 (USD) for an entry-level device looks a bit steep, but $200 appears far more reasonable, especially when the devices perform well and have lost the creaks and quality concerns of the earlier generation of cheap tablets.
Apple is rarely forced to compete on cost, but it also can't ignore a major competitive threat.

Clouding the issue

One of Apple's hallmarks has long been seamless integration among products. Early smartphones, music players, and tablets could all perform similar functions to the corresponding Apple products, but Apple made it easy and integrated. However, we're rapidly moving away from the era where the desktop or laptop was the center of an individual's computing experience. I want my phone and tablet to synchronize and share data without requiring a desktop or laptop as the middleman.
While Apple seems to have recognized this "post-PC era" in its marketing, in practice, its iCloud service lags behind other providers. No single cloud provider covers everything from file and music sharing, to video, social networking, and enterprise collaboration, but Google comes closest with its extensive software offerings. Google also lacks the platform dogma of Apple, offering most of its core cloud products on iOS. In a mixed-device family or enterprise, Google services are the obvious choice.

The Samsung factor

In Samsung, Google finally has a hardware partner that can innovate at the same level as Apple, but it's also capable of iterating much more quickly than Apple. On the smartphone front, the latest iPhone used to comfortably dominate the market for 12-18 months, remaining the premium product even while a sea of lower-cost Android phones came and went. Samsung has figured out how to produce and market exciting phones that make the iPhone look a bit dated after six months.
Samsung is applying similar innovation to the tablet space, adding functionality like stylus input and providing a form factor to satisfy every taste. While Samsung lacks the direct control over hardware and software that Apple enjoys, being able to out-innovate on both fronts negates much of that advantage.
For enterprises, focusing on web-driven mobile applications can hedge any bets as to which platform dominates the tablet space. In either case, a resurgent Google can only help increase the speed of innovation in tablets.


How Android can beat Apple in the tablet space - TechRepublic


Google needs to more tightly control Android for tablet success


Patrick Gray thinks that Android needs to be more tightly controlled by Google in order to achieve tablet success. Do you agree?
In my fight against the sedentary lifestyle engendered by consulting, I took up running a few years ago. I was attracted to the simplicity of the sport and the ability to run while traveling just about anywhere, with running shoes and a pair of shorts being the only real requirements. My proclivity for gadgets and data soon encroached on this seemingly simple activity, and a GPS-enabled running watch and MP3 player soon became frequent companions, along with clothing made of fancy fabrics and other accoutrements.
Recently, I picked up Motorola's MOTOACTV device, a watch-like unit that promised to integrate the functions of a GPS-enabled tracker for logging run information, as well as an MP3 player, into one unit. One of the intriguing aspects of the device is that it runs Google's Android operating system, and despite the customizations required to shoehorn Android into a watch-sized screen, it's obviously still the popular mobile OS at its core. So, what does this have to do with tablets in the enterprise? To a large extent, tablets may not be the device that finally opens enterprise doors to Android; rather, small embedded devices like my running watch may be the Trojan Horse of sorts that brings Android to the enterprise in full force.

Android, a better embedded Linux?

Embedded systems are no stranger to the enterprise and might live inside anything from the thermostat in the conference room to a complex, connected industrial controller that manages critical utility infrastructure. Linux has dominated this market for good cause: it's lightweight, networked, reliable, standards-based, and cheap -- a perfect combination that has stymied competitors.
Android pushes these benefits several notches further, adding a graphical user interface and modern mobile networking support, which are huge assets for embedded devices that might be mobile and require increased redundancy or frequent interaction with users who find menus and icons far less intimidating than command prompts or low-grade web interfaces.
Just as my running watch seamlessly synchronizes with an online service minutes after I enter the house, an embedded Android device could easily "phone home" for everything from reporting to updating its configuration. One of Android's greatest assets, and one of its critical weaknesses from a tablets perspective, is that Google essentially provides a blank slate upon which others can build compelling, integrated applications.

So, why not Android tablets?

One certainly can't blame Android for trying on the tablets front, and its latest effort -- a low-cost yet seemingly high-quality tablet in the form of the Nexus 7 -- represents a compelling offering. However, despite offering devices in all shapes, sizes, and price points, Android has yet to attract the market share of leader iPad. Google's desire to deliver a platform might be perfect for embedded devices, but it's become a hindrance for enterprise tablets.
While I find concerns about Android hardware fragmentation overblown, the company's rapid release cycle has muddied the waters on the software front, especially as it pertains to tablets. Add in Android's ability to be enhanced and modified by manufacturers, which a great strength on the embedded device front, and you have different hardware providers doing everything from superficial "skinning" of Android on their particular device to providing a unique and different OS shell, as HTC has done with their Sense layer. In the case of Amazon's successful Kindle Fire tablet, Amazon has not only deeply modified the Android OS, but also abandoned Google's app store in favor of its own offering.
Google shouldn't take an Apple-like approach to locking down hardware, software, and application distribution, but Android does need to be more tightly controlled by Google in order to achieve tablet success. A significant asset that Google has over Apple is that there are Android tablets available in every conceivable size, shape, and price point. Hardware manufacturers understandably don't want to be forced into commodity status, but at this juncture, an average user could pick up three random Android tablets and find an inconsistent interface and experience among them. This is not a recipe for a successful enterprise device.
What do you think Google needs to do on the tablet front to steal some of the market share from Apple's iPad? Share your opinion in the discussion thread below.

Google needs to more tightly control Android for tablet success - TechRepublic


Android's very real 'Master Key' vulnerability

Android Master Key cryptography ensures applications are not tampered with. Michael P. Kassner interviews researchers who say the crypto process is severely flawed.
[There is an Update to this article: See the end of the post below]
Something that could affect 900 million people in a bad way is more than enough incentive for me to stop the presses on a nearly-completed article, and begin a new one two days before deadline.
What caused my radical turnabout? The Android vulnerability that tech-news outlets are all fired up about, even though it’s something only super-crypto geeks truly comprehend. Terms like Master Key, APK, and cryptographic signature are scattered throughout the technical reports I “attempted” to understand; but the only thing I got for my effort was a headache.
     Bluebox+Security
Then I found the source of my consternation, a blog post by Jeff Forristal, CTO of Bluebox Security, titled "Uncovering Android Master Key that Makes 99% of Devices Vulnerable." It starts out:
The Bluebox Security research team -- Bluebox Labs -- recently discovered a vulnerability in Android’s security model that allows a hacker to modify APK code without breaking an application’s cryptographic signature, to turn any legitimate application into a malicious Trojan, completely unnoticed by the app store, the phone, or the end user.
Got all that? Well, I didn’t. So, I asked the folks at Bluebox Security what the heck was going on -- is my Android phone safe or not?



Adam+Ely








Expecting answers late Friday afternoon was awfully bold on my part, but Katherine Nellum of Lewis PR adroitly arranged for me to talk to Adam Ely, cofounder and COO of Bluebox. Don’t let the C-level title fool you, Adam is a seasoned IT-security expert recognized as one of the top 25 security influencers of  2012.

Cryptographic signature

My first request of Adam was to explain what a cryptographic (digital) signature was, and what role it played. I wondered out loud if it was similar to a cryptographic hash. Many of us use hashes as a way to ensure software we download has not been altered. Adam told me that a signature was similar, but offered more security options. As you can see in the slide below (courtesy of StackExchange.com).








The StackExchange.com website offered the following definitions:
  • Integrity: Can the recipient be confident that the message has not been modified?
  • Authentication: Can the recipient be confident that the message originates from the sender?
  • Non-repudiation: If the recipient passes the message and the proof to a third party, can the third party be confident that the message originated from the sender?
So, an application’s cryptographic signature ensures that the application has not been altered, that it came from the responsible developer, and nothing happened to the application while it resided in the app store. Yet, Bluebox found a way to alter an application’s code without raising any alarms. Jeff’s post explains: “The vulnerability involves discrepancies in how Android applications are cryptographically verified and installed, allowing for APK code modification without breaking the cryptographic signature.”
There’s that term APK again. It stands for Application PacKage file, a file format similar to Window’s MSI -- simply put, the application installation package. Jeff continues:
“All Android applications contain cryptographic signatures, which Android uses to determine if the app is legitimate, and to verify that the app hasn’t been tampered with or modified. This vulnerability makes it possible to change an application’s code without affecting the cryptographic signature of the application -- essentially allowing a malicious author to trick Android into believing the app is unchanged even if it has been.”
So the app’s code can be internally altered, and we are none the wiser.

Bad guy options

It seems that malicious coders have two methods to get malicious working apps loaded on to Android phones. They can create a replacement app that is coded to do their bidding, making it look like an update for an already-installed application:
“The vulnerability found by Bluebox bypasses those security constraints (cryptographic signature), allowing a malicious application to update existing applications, access existing application data, and in certain circumstances (in the case when the app is platform-signed) allow the application to be granted immediate system UID access.”
The second method has the bad guys building a malicious version using an application already in the app store, changing only what is required to get past the app store entrance requirements; maybe replacing an uppercase O with a 0 in the app’s name. What the bad guys are hoping for is that someone will mistakenly download their application instead of the official one. And because of the vulnerability, Android will still load the application on the victim’s smartphone.
If my explanations seem “tongue in cheek” vague, well, they are. Adam and Bluebox Security have been working hard preparing for Black Hat 2013 where Jeff will be giving a talk (Android: One Root to Own Them All) about this very subject:
“Technical details of the issue, and related tools/material, will be released as part of my talk. During the talk, I will review the bug, including how it was found, and how it works. After the talk, we will post a follow-up post to our blog with a link to materials from the talk.”
Adam was kind enough to give us an advance peek at what Jeff is going to present.

Google has released a fix

I have written (too many times now) about Android’s number one issue: the completely inadequate update system currently employed. Android is up to version 4.2 (released November 2012); it wasn’t all that long ago that AT&T rolled out version 4.1 to my phone. I don’t know if the problem is with device manufacturers or mobile-telco providers; I just wish the delivery process would get fixed.
Case in point: According to Adam, Google has been exemplary in their handling of this issue. Bluebox Security approached Google in February of this year; and within a week, Google sent a representative to Bluebox Security to discuss the problem and thereafter had a solution within a month. It is now July, and a very real vulnerability is “alive and well in the digital wild” and it shouldn’t be a concern.

What are our options?

There is some good news; Google is now checking applications being uploaded to Play for the Master Key vulnerability. But -- and it’s a but that the bad guys are counting on -- there are other ways to load applications. Adam explains:
"Google has claimed to taken steps to 'inoculate' Google Play for this problem due to Bluebox’s disclosure of the problem. However, the practical reality is the Google Play is not the only app store used by the Android ecosystem. Markets such as Amazon, GetJar, SlideME, etc. also service large amounts of the Android population."
Please do not forget about sideloading; it will, I suspect, become the primary focus for bad guys, simply because it avoids any vetting by app stores. So, what happens if I absolutely need to load an application from an app store other than Play?

There's an app for that

Because the team at Bluebox Security is fully aware of the update issue, they created Bluebox Master Key Security Scanner. Jeff provides the details:
“The Bluebox Security Scanner app produced by our research team allows you to directly check if your Android device has been patched for this vulnerability without the hassle of having to contact the device manufacturer or mobile carrier.  It will also scan devices to see if there are any malicious apps installed that take advantage of this vulnerability.”
The app is available for free at Google Play, Amazon AppStore for Android, and GetJar.
The first slide shows a mobile device that is unaffected by the vulnerability:


Bluebox1.jpg

The next slide shows one that has issues:
Bluebox2.jpg

Businesses and BYOD

I’m not sure to what extent this will affect BYOD, but those in charge of mobile devices and network security need to be aware of the problem. Adam offered a few suggestions:
  • Push out an email to your Android user community with this link and have them immediately download and run the scanner. Make sure they provide the results back to you. If an update has not been made for specific devices, then give consideration to suspending them from your BYOD program.
  • Make an amendment to your BYOD policy that restricts your users from using any app stores outside of Google Play and your own internal enterprise app store. You can add in other app stores into your policy once they have expressly confirmed how they have addressed identifying the “master key” vulnerability.

Final thoughts

The "Master Key" vulnerability needs to be eliminated, and fast. People have enough going on, without worrying about the validity of their Android applications. It may seem like overkill, but I'm going to run the Bluebox scanner frequently just for peace of mind.
I'd like to thank Jeff and Adam of BlueBox Security for their help. I will update this post if Jeff's Black Hat talk sheds any new light.
 Update (16 Jul 2013):
Jon Oberheide of DuoSecurity sent an email today, informing me they had developed a fix:
ReKey is the result of an ongoing research collaboration between Northeastern University's SecLab research group and Duo Security. It is a mobile app for the Android platform that, in essence, takes the upstream patch from Google and deploys it in a safe and non-destructive manner on your device. The end result is that Android users are able to immediately protect their Android phone from the ‘Master Key’ vulnerabilities, without having to wait on security updates from their mobile carrier.
There is a small catch, right now the mobile device has to be rooted (unlocked for ReKey to work. You can get ReKey at Google Play.


 
Android's very real 'Master Key' vulnerability - TechRepublic

Thursday, August 08, 2013

The Pentagon Wants To Sell $US2.7 Billion In Weapons To A Country On The Verge Of Collapse | Business Insider Australia




The Pentagon is looking to bolster its military options for Syria’s civil war by sending $US2.7 billion in weapons to Iraq, despite the country being
on the verge of civil war.
The weapons deal would include 681 Stinger anti-aircraft missiles and 40 truck-mounted launchers, as well as three Hawk anti-aircraft batteries with 216 Hawk missiles, according to Agence France Presse.
The sale is primarily viewed as a way to bolster a possible no-fly zone in Iraq, though it would also help to cut off Iranian supplies to Syria through Iraqi air space.
“This capability will provide Iraq with the ability to contribute to regional air defenses and reduce its vulnerability to air attacks and also enhance interoperability between the government of Iraq, the US, and other allies,” the Pentagon said in a statement.
Needless to say, arming Iraq might not be the best decision for Washington.
The country is on the brink of total dissolution, the Kurds are acting autonomously in Syria as well as Iraq, and sectarian fighting is approaching mid-2006 levels.
From Reuters:
The attacks have raised fears of a return to full-blown sectarian conflict in a country where ruling Shi’ites and minority Sunni Muslims and Kurds have yet to find a stable way of sharing power.
More than 1,000 Iraqis were killed in July, the highest monthly death toll since 2008, the United Nations said last week.
One of the main concerns for not arming Syrian militias in the first against Assad is that the same stinger missiles could fall into the wrong hands.
With the resurgence of Al Qaeda in Iraq, now might not be the best time to go throwing anti-aircraft weapons at President Nouri al-Maliki.
As Kim Kagan notes in the Weekly Standard, “ Some of the militia activity is occurring within sight of Iraqi Security Forces checkpoints,” suggesting Maliki, “is either tolerating it or has lost control over the escalation.”

The Pentagon Wants To Sell $US2.7 Billion In Weapons To A Country On The Verge Of Collapse | Business Insider Australia


Ok that's the USA's take, so can someone tell me why after 20 years 2 Gulf Wars and Billions of dollars, thousands dieing on all sides to disarming them (IRAQ), for the US to now re arm them for some piss ant weapons for fighters to fight a CIVIL WAR!!!!

Why TF did I and my mates and countrymen even help and die to sort IRAQ out just for you to rearm them...... YOU FUCKING EGOTISTICAL INBRED'S. You are such a retarded race.







Related Posts Plugin for WordPress, Blogger...