The Convergence of Internet Security Threats (Spam, Viruses, Trojans, Phishing) Peter Gutmann University of Auckland Convergence of Networking Technology
Text Previews (text result may be not accurate) Threat
Spyware
Trojans
Phishing
ID theft
Spam mechanisms
Open relays
SORBS listed 960,000 open HTTP proxies and 1,200,000
Pink contracts
Expensive, but avoid ToS
Spamhausestimates that MCI Worldcomalone makes
Gypsy accounts
procedure arms_race
write spam_filter;
acquire spam_filter;
tune spam to avoid filter;
Some spamwaredirectly includes SpamAssassintechnology to
Buy CDs with harvested addresses
Prices vary depending on the quality
Vacuum-cleaner for ~$50, verified for $
Send mail via spam brokers
Handled via online forums like specialham.com,
$1 buys 10005000 credits
$1000 buys 10,000 compromised PCs
Broker handles spam distribution via open proxies, relays,
compromised PCs,
Sending is usually done from the clients PC using broker-
Sources are obscured using spread-spectrum/frequency-
hopping style techniques
One experiment in blocking IP addresses originating
worm/virus attacks ended up blocking
Spammers can do whatever they want
They simply dont want to know China Telecom doesnt
care because theyre government-owned, and there is no
pressure coming from the government
Steve Linford, Spamhaus
Use BGP route injection/AS hijacking to steal an IP block
Break into a poorly-secured router
NANOG 28 (June03) ISP security BOF: 5,400
Send a BGP route update announcing that your router is now
responsible for some currently-unused block of IP addresses
In 5-10 minutes the entire Internet will know
This is all the time you need
Spam like crazy from each IP address in the block until you get
Spammers routinely break into legitimate users PCs to
I dont bother securing my [games] PC, because I doubt
spammers are interested in my savegames
All Grannys going to notice is that her computer is running
slowly while, unbeknownst to her, its blasting out spam or
assisting in a denial-of-service attack
Andrew Jaquith, Yankee Group Research Inc.
server
Controller
Controller
Source code is freely available
Well-written C++ implementation
Cross-platform
Modular design
Easy to add new capabilities
Exists in many variants
Agobot, Phatbot, Forbot, Xtrmbot,
Originally used IRC
Some variants use P2P control, e.g. WASTE,
Example: Agobot(ctd)
General capabilities
Example: Agobot(ctd)
Typical Agobotcommands
Harvest email addresses
Example: Agobot(ctd)
Many additional commands are available
Macro forms of spam commands to perform the above with a
Display spoofed pages via browser help objects (BHOs)
Web page redirection
Spywarepropagation
Steal CD keys/registration codes for commercial software from
Includes a database of registry locations for common
Search the hard drive for sensitive files, e.g. *.xls, *finance*
Same pattern as Agobot, but oriented more towards
spying/system manipulation
Example: HaxdoorIdentity-theft Trojan
Advanced anti-removal and rootkitcapabilities
Hides itself by hooking the System Service Dispatch Table
Auto-loads via WinLogon
Example: HaxdoorIdentity-theft Trojan (ctd)
Spywarecapabilities
Captures all information entered into MSIE
Recognises financial-site-related keywords on web pages
(bank, banq, trade, merchant,
)
Steals cached credentials (RAS, POP, IMAP,
)
Feeds info to servers running on compromised hosts
One server held 285MB of stolen data from 9 days
6.6 million entries, 39,000 distinct victim IP addresses
Probably much higher due to NATing
SpamwareFunctions
Email security firm MessageLabsreports that
of the spam it blocks is from infected PCs
Much of the spam comes from ADSL/cable modem IP pools
Distributed Server Boycott list reports 350,000 compromised
SpamwareFunctions (ctd)
Worms act as special-purpose spam relays (e.g.
Backdoor.Hogle, MyDoom.*)
MyDoominfected ca. 1,000,000 PCs (F-Secure)
Infected PCs (fresh proxies) are traded in spammer forums
Spamwaresends either direct from end-user PCs or routed via
Spam comes from legitimate users or legitimate ISPs
Worms act as reverse HTTP proxies
Provide a distributed fault-tolerant web site for spammers
Backdoor.Migmafchanged the site every 10 minutes
c.f. email spam frequency-hopping
Disable anti-virus/firewall software (ProcKill, Klez, Bagle-
At one point it was possible to scan for viruses via the
standardisedcode that they used to disable MSAV
Bypass firewall software
Walk the NDIS.SYS memory image or data structures and
patch yourself in beneath the firewall hooks
Page in your own NDIS.SYS image from disk to avoid
Many, many variations used by different rootkits, e.g.
Modify anti-virus database files to remove detection of the
malware (IDEA, AntiAVP)
Re-enable unsafe defaults in software, e.g. MS Office
(Listi/Kallisti)
Infect through CRC32-checksummed files (HybrisF)
CRC32 isnt a cryptographic checksum mechanism
Can modify the file without affecting its CRC32 value
Install rogue CA root certificates (Marketscore)
Because of the browser certificate trust model, Marketscore
Disable user rights verification by patching the kernel
Two-byte patch to
Engage users in IM chat sessions inviting them to
download malware (IM.Myspace04.AIM)
The worm will tell users that its not malware if asked
The typical AOL lold00d check this out is hardly a Turing-
test level challenge
Steal CD keys/registration codes for commercial software
Add registry entries to make an ActiveX control appear
safe and digitally signed (Grew)
Pop up messages requesting payment of money and may
disable your computer if you dont pay up (WGA)
Prevent anti-virus/malware removal programs from
Remove registry keys
Block apps from starting
Register kernel-level load image notification callback via
Use NT native API to create registry entry names that the
Win32 API cant process
Email address harvesting (several)
DDoSon spam-blockers (numerous)
Run a SOCKS proxy for spammers (BID 9182 MSIE hole)
Run port redirectors to mask the true source of traffic
Spammers can do virtually anything to a victims PC
Spamwarewith User Consent
Legitimate programs install spyware/trojans/spamware
Users permit this via the EULA agreement
Example: Kazaa
182 screen-page licence
SugarCRMlicense is approx.700 screen pages
Additional licences included by reference
Further documents incorporated by reference
Many portions are malformatted, making them difficult to
Disables standard Windows facilities like cut & paste to
prevent it from being read more easily in a text editor
DirectRevenue(44 screen-page licence) gives itself the right to
attack and destroy other spywareon the machine
Use OLE automation to approve the EULA automatically
Monoculture paper: Computing power is moving to the
(insecure) web periphery
Centralised vulnerable servers
Publicity virus: Written by bored script kiddies
Poorly tested, often barely works
Spam/phishing virus: Written by paid professional
Well-tested, can be quite sophisticated
The Babylonia virus used plug-in virus modules (VMODs)
The Hybrisworm uses digitally-signed encrypted updates
propagated via web servers and newsgroups
The [Scobtrojan] attack demonstrated the same skills required
to design an entire software application
Some malware will send back a diagnostic memory dump
(āla Windows Error Reporting) if it fails to run on a
particular machine configuration
The gang has been very active and worked with care on each
aspect of the final product. The developers constantly
improved the code with [
] code optimisation and memory
checks to avoid blue-screen errors
Zero-days are sold online
There are dozens of these sites with hackers offering zero-day
code for sale all the time. They even have a mechanism to
Kernel-mode rootkitscan be bought from third-party
Outsourcing the anti-detection code allows malware authors to
concentrate on the payload
Sony even installs a (badly-written) rootkitas part of its
Rootkitwas exploited by trojans/viruses to hide their presence
Trying to remove it could violate the DMCA (or similar laws
Most people dont even know what a rootkitis, so why should
Thomas Hesse, president of Sony BMGs global
Around half a million computers worldwide were infected
Those are amazing infection numbers, making this one of the
Available as Bronze/Silver/Golden/Brilliant Hacker
150 (Bronze)/240 (Silver)/450 (Gold)/580 (Brilliant) layered
Commercial version of Hacker Defender
Example: Hacker Defender rootkit(ctd)
Anti-virus vendors notice users performing online scans of
small variations on a theme
The professionalism of these rootkitsis coming to another
Allen Schimel, StillSecure
Then organised crime moved in
Dutch Schultz took over from existing operators
They werent career criminals and were intimidated by explicit
Dutch hired mathematician Otto AbaDaba Berman to fix
Once organised crime got involved, everything changed
A trivial problem/nuisance became a major criminal enterprise
The modern spam industry now is spread across the globe
and has become infested by technically organised
programmers from Russia and Eastern Europe, often in
league with local organised crime syndicates
Colin Galloway, Asia Times
Most of the big outbreaks are professional operations. They
are done in an organised manner from start to finish
MikkoHypponen, F-Secure
The bad guys are winning. Theyre stealing more money,
swiping more identities, wrecking more corporate computers,
Phishing: A broadly launched social engineering attack in
which an electronic identity is misrepresented in an attempt
to trick individuals into revealing personal credentials that
can be used fraudulently against them
Financial Services Technology Consortium
Have gone from amateurish to very sophisticated,
professionally-run operations
Phishing toolkits allow criminals to select corporate logos, web
eBays own fraud investigators were fooled by one phishing
email, and endorsed it as legitimate
Perfect copies of the original site
Links lead back to the real site
Convince users to go to the fake site
Promotions: $1,000 top-up for your account, reduce your home
mortgage rate, win a car,
Mirror existing promotional efforts by banks
Update/verify your account information
May 04: Wachovia merges with First Union (large US
Sends email to customers with a link for updating account
Wachovias phones started ringing off the hook
December 2005, yahoo sends mail to Yahoo Mail users
personal information and a credit card number
View your account balance
Wells Fargo used to regularly send out emails with
embedded links that were indistinguishable from phishing
Chase still does this
Here is official mail from a credit card company, actively
training its users to become future victims of phishing
Visit our new, more secure web site
Again, this mirrors the practices of real banks
Chase sends out emails with embedded links exhorting
customers to sign up for phishing-protection plans (!!)
To compound the sin, they use random third-party email
Chase will also honourpre-approved credit card
applications that have been torn into little pieces, taped back
Financial institutions are training their users to accept
phishing email
Westpac bank may use your email address to advise you of
To validate your personal Westpaconline banking account
follow the link below:
https://westpac.com.au/validate.asphttp://
Bank emails are indistinguishable from phishing emails
Customers should understand that Citibank will never send e-
mails to customers to verify personal and/or account
information [
] It is important you disregard and report e-mails
which [
] request any customer information including your
ATM PIN or account details
Citibank Australia
and [
] to identify and authenticate yourself, enter
(a) your card number (b) your ATM PIN (c) your account
Citibank Australiaemail, November 2006
It had all the classic signs. It was an e-mail asking the
customer to go to a Web site and enter their ATM or credit
card number, their ATM PIN and their account number. It then
asked them to enter some answers to security questions such
as their mothers maiden name and create a username and
BronwyneEdwards, SMS Management & Technology
The bank couldnt see a problem
Are you guys on crack?
Paraphrased journalist inquiry to Citibank
These are all online banking customers and are used to
receiving e-mails from us. I dont believe we have contradicted
[our security policy]
Citibank Australiaspokesperson
Financial institutions are training their users to ignore
security indicators
A profusion of domain names serve to confuse users
citibank.com
= Citibank
citibank-verify.4t.com
No problem to
certificate for
accountonline.com
Citibank uses six more domain names
Many other organisationsdo this
TD Waterhouse
United Airlines
Other Citibank-like domains
citibank-america.com, citibank-credicard.com,
citibank-credit-card.com, citibank-credit-cards.com,
citibank-account-updating.com,
citibank-creditcard.com, citibank-loans.com,
citibank-login.com, citibank-online-security.com,
citibank-secure.com, citibank-site.com,
citibank-sucks.com, citibank-update.com,
citibank-updateinfo.com, citibank-updating.com,
citibankaccount.com, citibankaccountonline.com,
citibankaccounts.com, citibankaccountsonline.com,
Some are legitimate, some arent
citibank-account-updating.com
is supposedly owned by
Ms.EvelynMusa,
Like virtually all similar cases, this person is an innocent
victim of identity fraud
(Why would any rational criminal commit a crime in their
own name when they can trivially use someone elses?)
This is an endemic problem for identity-based accountability systems
like domain registration and certificates
Example: HanscomFederal Credit Union
Home of HanscomAir Force Base
Uses domains
www.hfcu.org, locator.hfcu.org, ask.hfcu.org,
F-Secure survey of registered domains, November 2006
SecuritySpacesecure server survey shows that 58% of SSL
server certificates are invalid
Even with certificates used, most users cant tell right from
Only 50% of experienced computer users identified Verisign as
No users verified Saunalahdenas a trusted CA (Saunalahdenis
Web site is in Finnish, you cant tell what it is even if you
81% of users identified VeriSlimas a trusted CA (VeriSlim
[continued]
[continues]
84% identified Visa as a trusted CA (Visa is a credit card
22% of
An informal survey of non-experienced users indicates that
Only 24% of users could tell a spoofed HTTP amazon.com
Phishers have started using self-signed certificates and
similar techniques to fool users (secured phishing)
In self-signing, you become your own CA [
] most people
dont know that self-signed certificates exist
Susan Larson, Surfcontrol
Security firm Netcraftrecorded 450 cases of secured phishing
in 2005, the first year that records were kept
Self-signed certs
Certsfor soundalikedomains
Cross-site scripting to insert content into banking web sites
Frame injection to "
Many bank sites (e.g. MasterCard, Barclays) are insecurely
coded and allow these types of attack
Example secured phishing site: visa-secure.com
Uses phishing email from visa.com to send users to the site
The real Visa uses similar naming, e.g.
Site uses an SSL certificate to authenticate itself
We use advanced SSL encryption technology to ensure
confidential information cannot be viewed, intercepted, or
visa-secure.com phishing site
Site is (was) hosted in Taiwan
Consumers underestimate the threat
Sept/Oct 2004 AOL survey examined 329 home computers
70% of users believed they were safe
85% had antivirus software
67% of it was out of date
A large proportion of [virus-infected] systems had some form of
Norton AV installed, and EVERY SINGLE ONE had a virus
subscription which had lapsed. Entirely useless in protecting those
Slashdot
AusCERTstudy in 2006 found that the most popular anti-virus
I had a class full of students this semester [
] the second
assignment was to write a virus that would pass the anti-virus
software, and all of them did by the following week
Matt Blaze, 2004 Security Protocols workshop
One customer had over 3000 instances of some 30 or 40
viruses on her computer, some of which required some
People expect Hollywood-style effects from malware
Exploding panels
Sparks flying from the case
Crashing alien spacecraft
Modern malware is designed to be as undetectable as
No visible effect
I ran this Anna Kournikovathing and nothing happened. Why
Anti-virus vendor support call
80% of surveyed users were infected with adwareand
Most consumers believe that the threat is less than it is and
Geek-speak confuses users
AOL UK survey found that 84% of users had no idea what
39% knew what a trojanwas (in the US its a condom brand)
Only 25% knew what spywarewas
10% of those thought it was for keeping an eye on your
Attacker controls the DNS
Server compromise
10% of DNS servers scanned in late 2005 were vulnerable
Used in one attack to redirect visitors to
to spywaresites
Bribing/blackmailing ISPs
Virus changes the victims DNS server entries (pharming)
Can be used to disable security updates
(Fake) windowsupdate.com: Your system is up to date and
Script in phishing email rewrites the victims
As for direct DNS compromise
Many DNS providers ignore TTLs
Invalid DNS entries can take weeks to correct
Trojans control the victims PC
Sniff keystrokes, mouse clicks, images of graphical virtual
Render copies of genuine bank pages from the browser cache
Trojan installs itself as a browser help object (BHO)
Watches for access to a whos who of banking sites around the
Use typo-squatting to install malware
googkle.com
infects visitors with trojans, backdoors, and
Popups redirect to third-party sites loaded with downloader
Use assorted exploits to download more tools containing
Just one of these downloaded exploit packages contains two
backdoors, two trojandroppers, a proxy trojan, a spyware
trojan, and a further trojandownloader
Another trojandropper infects the Windows system folder and
file to prevent access to anti-virus sites
Another generates a fake virus alert and directs the user to
Fake out standard Windows dialog boxes
Your computer clock may be wrong, click here
Your computers is vulnerable to attack, click here (!!)
Example: Gliedertrojan
Phase 1, multiple fast-deploying variants sneak past AV
software before virus signatures can be propagated
Disable Windows XP Firewall and Security Center
Phase 2, connects to a list of URLs to download Fantibag
Disables anti-virus software and other protection mechanisms
Blocks access to anti-virus vendors
Blocks access to Windows Update
Phase 3, Mitgliedermalware contains the actual payload
Example: Hybrisworm
Plug-in modules were encrypted with XTEA and digitally
signed with a 1024-bit RSA key
Modules were obtained from web sites or newsgroups
Modules (muazzins) included
Windows help file infector
Polymorphic Windows executable infector
Could also infect executables through a
DOS .EXE infector
RAR/ZIP/ARJ infector
Word, Excel infectors
SubSevenbackdoor dropper
Example: Hybrisworm (ctd)
Spyware via the affiliate model
Pay others to infect users with spyware/adware/trojans
iframedollars.biz
pays webmasters 6 cents for each
Their exploit drops at least 9 pieces of malware, including
backdoors, trojans, spyware, and adware
Piggbackmalware on legitimate software
CoolWebSearchco-installs a mail zombie and a keystroke
Gathers credit card numbers, social security numbers,
Use a web sites ability to control the browser to spoof the
Infinite spoofing variants possible
Intercept the
Move the window the mouse is over (generating the drag)
Permit the click to continue to the
Result is a drag-and-drop of anything on the local system to
Overlay a minimal data-entry window over the real sites login
This trick was used to attack Citibank
Use Javascript keyboard monitoring to grab plaintext
input type=hidden name=phishing value=inpu;t ty;-21p;=hi;ෞ-;!n ;name;=-21;phis;hing;-21 ;valu;=-2;က
input type=password name=password
onKeyPress=this.form.phishing.value+=
String.fromCharCode(event.keyCode);