CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring...

26
Coinminers Detection Surged by 8,500% in 2017 Source: Symantec

Transcript of CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring...

Page 1: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Coinminers Detection Surged by 8,500% in 2017

Source: Symantec

Page 2: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Omri Segev-MoyalCo-Founder & VP of Research, Minerva Labs@GelosSnake

The Rise of Coinminers

Get these slides now at: https://tinyurl.com/rise-of-coinminers

Page 3: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Source: Google Trends

Naming Convention?

Page 4: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

CryptoJacking is Everywhere

Source: similartech

Page 5: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Source: malware-traffic-analysis.net

Jumping on the Wagon

Page 6: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Finding Similarities

Page 7: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

• Stealth Address - virtual P.O. box

• Ring Signatures – transactions can't be tracked

• CPU still very effective

• Ease of use

XMR – Currency of the Day

Page 8: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Source: @bad_packets - https://arxiv.org/pdf/1803.02887.pdf

CryptoJacking – Hiding in Plain Si(gh)te

Page 9: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Source: zerodot1 - https://zerodot1.github.io/CoinBlockerLists/

CoinBlockerLists – It’s Free

Page 10: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

https://github.com/xmrig

XMRig - Relying on Open Source

Page 11: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

https://tinyurl.com/MinerSnort

Public Pools - Miners Unite

Page 12: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Shhhhh They are Watching

Page 13: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Catch Me If You Can

Page 14: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

• Using traceable email in public pools

• Uploading source code to public repos

• Hardcoded credentials in the payload

Source: Any.run

Common #OPSec Failures

Page 15: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Source: https://tinyurl.com/BleepingWater

Case Study - Waterminer

Page 16: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Show Me The Money

Page 17: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

• XMR transactions are anonymized but pools statistics are (often) not

• Monitor for hash rate, payments, running periods

• Shared backend technology

• Graphics!

Using Pools Data to Track CoinMiners

Page 18: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Case Study - PhotoMiner

Page 19: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Use Your Enemy’s Strength Against Them

Page 20: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

GhostMiner - Eliminating Malicious Mining Competitors• Kill running miners process

• Stop and delete miner blacklisted services by name

• Remove miners that run as blacklisted scheduled tasks by the task name

• Stop and remove miners by their commandline arguments

• Stop and remove miners by going through the list of established TCP connections,

Source: https://github.com/MinervaLabsResearch/BlogPosts/tree/master/MinerKiller

Page 21: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

What’s Next?

Page 22: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Staying Ahead of The Curve• Solo mining and proxy between pools and infected machine

• Unique protocols (hiding traffic )

• Less CPU consuming, immediate versus on-going (nice miner)

• Targeting less tracked connected devices

Page 23: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Recap

Page 24: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

What Did We Discuss

• Similar features of Coinminers

• Methods to detect and prevent this attacks

• How to track down and hunt for common opsec failures

• Monitoring Coinminer profits

• Using Coinminers anti-competition tools against them

Page 25: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Q&A

Page 26: CoinminersDetection Surged by 8,500% in 2017€¦ · •Stealth Address -virtual P.O. box •Ring Signatures –transactions can't be tracked •CPU still very effective •Ease of

Want to Share CryptoMiners Findings?Have Any Other Questions?

• Email me at

• Reach out to me on Twitter: @GelosSnake

• Get these slides now at: https://tinyurl.com/rise-of-coinminers