Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 66 guests and 2 members online
 
Free Business and Tech Magazines and eBooks

You are here:
EH-Net
May 22, 2013, 11:49:54 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: 12 Steps to a malware free existence  (Read 11033 times)
0 Members and 1 Guest are viewing this topic.
Hudson185
Newbie
*
Offline Offline

Posts: 12


View Profile
« on: November 26, 2012, 02:37:37 AM »

Microsoft Windows has a long history of mass attacks launched at it with exploit kits such as Black Hole and usb spreading. Once the Windows machine is exploited banking bots are installed on that machine.  Zeus targeted Internet Explorer and Firefox web browsers. Zeus introduced form grabbing http://en.wikipedia.org/wiki/Form_Grabber and web-injects and ATS attacks using web-injects (http://www.trendmicro.com/cloud-content/us/pdfs/security-intelligence/white-papers/wp_automating_online_banking_fraud.pdf). Also Zeus featured vnc (like RDP full gui access to victims machine) and backconnect (allows the botmaster to use the victim’s pc as a proxy andl also to access the victim pc file system). Zeus source code for 2.0.8.9 was leaked.

SpyEye built on Zeus adding support for the web browsers Chrome, Opera.
Unlike Zeus SpyEye requires a vps or dedicated server.
SpyEye uses collector daemon and requires debian or centos server.
SpyEye added screenshots to defeat onscreen keyboards. SpyEye also added dns changer allowing the attacker to change the dns settings of infected computers. SpyEye added webfakes plugin allowed the attacker to intercept and change the page victim machine is viewing. Also DDOS module was added and credit card grabber plugin was added.
The hidden rdp plugin is by far the best of SpyEye’s plugins as it uses a hidden Remote Desktop session instead of vnc like zeus.The SpyEye hidden rdp daemon only works with debian or centos. SpyEy also has socks proxy plugin and a ftp plugin both uses the same backconect daemon.

Citadel built off Zeus source code is now the prefered bot by cyber criminals.
Citadel is a work in progress checkout http://malware.dontneedcoffee.com/2012/10/citadelupdate1.3.5.1.html for more info on citadel.

Why do we still use Windows it’s clearly not secure.
This failure rate is not acceptable just assume that your infected.

Okay so Mac is secure? No not really. Mac also has Zeus like clones Weyland Yutani bot.
http://krebsonsecurity.com/2011/05/weyland-yutani-crime-kit-targets-macs-for-bots/
Also Mac now has rats such as netwire
http://www.xylibox.com/2012/07/netwire-first-multi-platform-rat.html
and Incognito
http://krebsonsecurity.com/2011/05/something-old-is-new-again-mac-rats-crimepacks-sunspots-zeus-leaks/

Okay Linux is secure? Currently linux only concerns are trojans such as Netwire and java trojans.


How can we bank online safely? The answer is using a linux live cd like BT5R3-GNOME-64 wine is loaded on it and read only sd cards to store your passwords and settings on.

First burn the iso and check the md5 sum.
Boot the iso and insert the sd cards in write mode download your programs to the sd creat your email account and other accounts using
a password manager such as keepass http://downloads.sourceforge.net/keepass/KeePass-1.24-Setup.exe
once finished lock the sd cards into readonly mode.

12 Steps to a malware free existence


1. Use a wired connection. Wifi sucks
http://hakshop.myshopify.com/products/wifi-pineapple

2. Use a wired keyboard and mouse. Hacking bluetooth is closer then you might think
http://hakshop.myshopify.com/products/ubertooth-one

3. Use a VPN http://strongvpn.com/

4. Use truecrypt encrypt your files on your sd card.

5. Use a Yubikey for your truecrypt password.
http://www.yubico.com/products/yubikey-hardware/yubikey/

6. Use a second sd card for a keyfile if using keepass.

7. Use two factor authentication for email a good choice would be gmail.

8. Always use  a password generator such as keepass to create your passwords.

9. Only use your email account on the livecd never use it anywhere else.

10. Backup your sd card data and your Yubikey password.

11. Use WinMD5Free works in Wine to check md5 sums of your live cd and your programs

12. Remember that your banking computer is not a toy and only do banking on it.











« Last Edit: November 26, 2012, 02:45:57 AM by Hudson185 » Logged

Certifications:
OSWP
Andrew Waite
Hero Member
*****
Offline Offline

Posts: 928



View Profile WWW
« Reply #1 on: November 26, 2012, 03:17:56 AM »

Hi Hudson,

welcome to EH-Net Smiley

Not wanting to pull your first post apart, but this seems to be computing for the truely paranoid. Whilst most of it is good advice, in the real world you've got zero chance of getting standard users to take this precautions; I'm an overly paranoid infosec guy and the only step I follow is checking the hash sums of downloaded files - and my machines are malware free (ignoring the malware there deliberately...).

And if you're running a 'nix OS, why run winmd5Free under wine when you've (usually) got md5sum on the commandline as standard?

Oh, and one of my primary malware-free machines? Running Windows....
Logged

Hudson185
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #2 on: November 26, 2012, 10:48:26 AM »

Thanks for not destroying me on my first post. This was written more toward the power user crowd. I agree standard users will never do this. winmd5Free is simple to use that's why I suggested it but you make a valid point.
« Last Edit: November 26, 2012, 12:05:21 PM by Hudson185 » Logged

Certifications:
OSWP
3xban
Hero Member
*****
Offline Offline

Posts: 608


View Profile WWW
« Reply #3 on: November 26, 2012, 09:14:24 PM »

Don't forget to use a dedicated machine to surf pr0n  Cheesy  I mean so I hear.

Welcome to the forums!
Logged

Certs: GCWN
(@)Dewser
prats84
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #4 on: November 27, 2012, 02:16:16 AM »


Thanks for the post and somethings are really practical and great to implement.


I tend to believe and follow no matter what we do. The moment your are on internet you arent safe.
So I keep  avoid using windows cause it has a greater number of threats than *nix and OS X and use a VM to download stuff or to visit some random sites.





Logged
tturner
Sr. Member
****
Offline Offline

Posts: 432


View Profile WWW
« Reply #5 on: November 27, 2012, 08:49:18 AM »

You forgot "Perform normal computing tasks as a non-privileged user and use runas or sudo when higher privileges are required"

I've found taking this step prevents a huge number of infections
Logged

Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP

WIP: OSWP, GSSP-JAVA, GXPN

Udacity on hold, again. I suck.

http://sentinel24.com/blog  @tonylturner http://bsidesorlando.org
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #6 on: November 27, 2012, 09:14:58 AM »


... this seems to be computing for the truely paranoid. Whilst most of it is good advice, in the real world you've got zero chance of getting standard users to take this precautions; I'm an overly paranoid infosec guy and the only step I follow is checking the hash sums of downloaded files - and my machines are malware free (ignoring the malware there deliberately...).


Actually, if it was truely paranoid, he would have said to use something like T.A.I.L.S.  instead of Backtrack. has a mode to look like windows, which makes it easier to use for a standard user. Encrypts everything going out. Read only Live CD or USB.

Yes I use T.A.I.L.S. in hostile environments (at the university, and at hacker cons).
Logged

OSWP, Sec+
jinwald12
Jr. Member
**
Offline Offline

Posts: 77



View Profile
« Reply #7 on: November 27, 2012, 04:29:48 PM »

he forgot to mention the tin foil hats and vpn chaining
Logged

where did all the fun go?
jinwald12
Jr. Member
**
Offline Offline

Posts: 77



View Profile
« Reply #8 on: November 27, 2012, 04:34:22 PM »

But to be honest use specific VMs are better and more cost efficient. Assuming your virtualization software is up to date its really unlikely that malware will "jump the petri dish" as it where. Also Backtrack 5 runs as root on a outdated version of ubuntu with tons of after market modifications i would not use it to do banking under most circumstances
Logged

where did all the fun go?
Hudson185
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #9 on: November 27, 2012, 06:37:37 PM »

BackTrack 5 maybe out dated but it has Backtrack 5 boot option BackTrack Forensics (http://www.backtrack-linux.org/wiki/index.php/Forensics_Boot)
As long as you change the default root password it's okay to run as root on a live cd. Provided you power the pc down after each session that should provide more then enough protection.
Logged

Certifications:
OSWP
jinwald12
Jr. Member
**
Offline Offline

Posts: 77



View Profile
« Reply #10 on: November 27, 2012, 07:34:11 PM »

Are you crazy? It's never a good idea to run as root the hole point of sudo/levels of privilege is to allow for "security in layers" so that way if they compromise the signed in user an attacker does not have free reign of the system they have to find a way to escalate privileges. And it does not matter if it's a forensics boot or not backtrack still is based off of an outdated platform.
Logged

where did all the fun go?
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #11 on: November 27, 2012, 09:19:09 PM »

Why is everyone saying BackTrack is outdated? It's based off an LTS version of Ubuntu and is still completely supported: https://wiki.ubuntu.com/LTS
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
chrisj
Hero Member
*****
Offline Offline

Posts: 1163


View Profile WWW
« Reply #12 on: November 27, 2012, 10:09:19 PM »

You're making a fatal mistake too. Even live cds have flaws. I would suggest finding my Derbycon talk, to see just a few of them.
Logged

OSWP, Sec+
Hudson185
Newbie
*
Offline Offline

Posts: 12


View Profile
« Reply #13 on: November 27, 2012, 10:33:03 PM »

Yes live cds have flaws and running as root does have it's drawbacks but because live cd sessions are non-persistent that would require an attacker to re-exploit machine multiple times. These assumptions are reasonable for a power user to follow 99% chance of not getting hacked.
« Last Edit: November 27, 2012, 10:36:46 PM by Hudson185 » Logged

Certifications:
OSWP
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1057


aka dynamik


View Profile WWW
« Reply #14 on: November 28, 2012, 07:54:54 AM »

Yes live cds have flaws and running as root does have it's drawbacks but because live cd sessions are non-persistent that would require an attacker to re-exploit machine multiple times. These assumptions are reasonable for a power user to follow 99% chance of not getting hacked.

That's assuming you're in a diskless system or that the disks are fully encrypted. If neither of those are the case, an attacker could dump hashes, create new autorun entries, etc. There are plenty of possibilities for long-term/persistant attacks.

+1 for Chris' talk. The default root/toor usage statistic alone was pretty awesome Cool
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.073 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.