The Future of Zero Trust and SASE is Now! Register now

close
close
The platform of the future is Netskope

Intelligent Security Service Edge (SSE), Cloud Access Security Broker (CASB), Cloud Firewall, Next Generation Secure Web Gateway (SWG), and Private Access for ZTNA built natively into a single solution to help every business on its journey to Secure Access Service Edge (SASE) architecture.

Go to Products Overview
Netskope video
Next Gen SASE Branch is hybrid — connected, secured, and automated

Netskope Next Gen SASE Branch converges Context-Aware SASE Fabric, Zero-Trust Hybrid Security, and SkopeAI-powered Cloud Orchestrator into a unified cloud offering, ushering in a fully modernized branch experience for the borderless enterprise.

Learn about Next Gen SASE Branch
People at the open space office
Designing a SASE Architecture For Dummies

Get your complimentary copy of the only guide to SASE design you’ll ever need.

Get the eBook
Embrace a Secure Access Service Edge (SASE) architecture

Netskope NewEdge is the world’s largest, highest-performing security private cloud and provides customers with unparalleled service coverage, performance and resilience.

Learn about NewEdge
NewEdge
Your Network of Tomorrow

Plan your path toward a faster, more secure, and more resilient network designed for the applications and users that you support.

Get the white paper
Your Network of Tomorrow
Netskope Cloud Exchange

The Netskope Cloud Exchange (CE) provides customers with powerful integration tools to leverage investments across their security posture.

Learn about Cloud Exchange
Netskope video
Make the move to market-leading cloud security services with minimal latency and high reliability.

Learn about NewEdge
Lighted highway through mountainside switchbacks
Safely enable the use of generative AI applications with application access control, real-time user coaching, and best-in-class data protection.

Learn how we secure generative AI use
Safely Enable ChatGPT and Generative AI
Zero trust solutions for SSE and SASE deployments

Learn about Zero Trust
Boat driving through open sea
Netskope achieves FedRAMP High Authorization

Choose Netskope GovCloud to accelerate your agency’s transformation.

Learn about Netskope GovCloud
Netskope GovCloud
  • Resources chevron

    Learn more about how Netskope can help you secure your journey to the cloud.

  • Blog chevron

    Learn how Netskope enables security and networking transformation through security service edge (SSE).

  • Events & Workshops chevron

    Stay ahead of the latest security trends and connect with your peers.

  • Security Defined chevron

    Everything you need to know in our cybersecurity encyclopedia.

Security Visionaries Podcast

Cookies, Not Biscuits
Host Emily Wearmouthas sits down with experts David Fairman and Zohar Hod to discuss the past, present, and future of internet cookies.

Play the podcast
Podcast: Cookies, Not Biscuits
Latest Blogs

How Netskope can enable the Zero Trust and SASE journey through security service edge (SSE) capabilities.

Read the blog
Sunrise and cloudy sky
SASE Week 2023: Your SASE journey starts now!

Replay sessions from the fourth annual SASE Week.

Explore sessions
SASE Week 2023
What is Security Service Edge?

Explore the security side of SASE, the future of network and protection in the cloud.

Learn about Security Service Edge
Four-way roundabout
We help our customers to be Ready for Anything

See our Customers
Woman smiling with glasses looking out window
Netskope’s talented and experienced Professional Services team provides a prescriptive approach to your successful implementation.

Learn about Professional Services
Netskope Professional Services
The Netskope Community can help you and your team get more value out of products and practices.

Go to the Netskope Community
The Netskope Community
Secure your digital transformation journey and make the most of your cloud, web, and private applications with Netskope training.

Learn about Training and Certifications
Group of young professionals working
  • Company chevron

    We help you stay ahead of cloud, data, and network security challenges.

  • Why Netskope chevron

    Cloud transformation and work from anywhere have changed how security needs to work.

  • Leadership chevron

    Our leadership team is fiercely committed to doing everything it takes to make our customers successful.

  • Partners chevron

    We partner with security leaders to help you secure your journey to the cloud.

Supporting sustainability through data security

Netskope is proud to participate in Vision 2045: an initiative aimed to raise awareness on private industry’s role in sustainability.

Find out more
Supporting Sustainability Through Data Security
Highest in Execution. Furthest in Vision.

Netskope recognized as a Leader in the 2023 Gartner® Magic Quadrant™ for Security Service Edge.

Get the report
Netskope recognized as a Leader in the 2023 Gartner® Magic Quadrant™ for Security Service Edge.
Thinkers, builders, dreamers, innovators. Together, we deliver cutting-edge cloud security solutions to help our customers protect their data and people.

Meet our team
Group of hikers scaling a snowy mountain
Netskope’s partner-centric go-to-market strategy enables our partners to maximize their growth and profitability while transforming enterprise security.

Learn about Netskope Partners
Group of diverse young professionals smiling

LokiBot & NanoCore being distributed via ISO disk image files

Jun 25 2019
Tags
LokiBot
Malspam
malspam campaign
NanoCore
spam

Netskope Threat Research Labs has been tracking multiple similar malspam campaigns that began in  April 2019. The spam campaign contains an ISO image file as an attachment containing the next level payload. This blog post details both the campaign and the payload.

MalSpam Campaign

The malspam campaign began in April 2019, with a generic message about an invoice and an ISO disk image file attachment. The generic message indicates that the spam campaigns are not targeted toward any particular individuals or enterprises. Figure 1 below shows an example snapshot of a malspam email containing an ISO file as an attachment.

Figure 1: Malspam containing ISO file as an attachment.

We first noticed these malspam campaigns when our outbreak detection system alerted us to an unusual filetype showing up in multiple detections — the ISO disk image format. The samples were detected due to the samples of LokiBot and NanoCore that they contained. To date, we have uncovered 10 variants of this campaign, using different ISO images and emails.

Targeting such uncommon file formats gives an advantage to the malware authors as ISO files are usually allow listed from scanning in various email security solutions to improve efficiency. Also, major operating systems now have default software which automatically detects and mount the ISO image once the user clicks on it. This again makes it a preferred target for the scammers. The observed ISO files were in the size range of 1MB to 2MB which is an unusual file size for image files; usually, their sizes are in the upwards of 100MB. The image contains only one executable file embedded in it which is the actual malware payload. Instances of similar spam campaigns have been reported in the past where keyloggers and other information stealing payloads were being dropped onto the infected machines. The cases encountered during our analysis were mainly related to LokiBot and NanoCore remote administrative tools. Netskope’s advanced threat protection suit detects these files as Trojan.GenericKD.41227940 and Trojan.GenericKD.40782328.

Payload Analysis

LokiBot

There is a growing trend in using LokiBot as the delivery payload across a wide range of spam campaigns, the most recent one being reported here. The current version of Loki is similar to its previous versions, with only slight modifications in the anti-reversing techniques implemented in the bot. The sample analyzed, in this case, used the IsDebuggerPresent() function to determine if it is loaded inside a debugger. It also implemented a common anti-VM technique, measuring the computational time difference between CloseHandle() and GetProcessHeap() to detect if it is running inside a VM (the time difference will be large in case of a VM). Figure 2 shows how this looks in the disassembled code.

Figure 2: Anti-debugger check implemented in LokiBot

Once the codes for anti-reversing are patched, the malware sample unpacks it in the memory, as shown in Figure 3. The unpacked binary is an executable program coded in Visual Basic.

Figure 3: Memory section containing the unpacked binary code

Once the malware infects the system it performs the following operations:

  • Query system GUID information
  • Perform process hollowing and launch a child process.
  • Delete the parent process, leaving the child orphaned and in running state.

Once the infection process is complete, the sample then launches its stealer functions which have the capability to:

  • Probe more than 25 different web browsers to steal various browsing information.
  • Check for the presence of web or email servers running on the machine.
  • Locate credentials for 15 different email and file transfer clients.
  • Check for the presence for popular remote admin tools like SSH, VNC, and RDP.

Figure 4 below depicts a summary of malware’s behavior captured by our Advanced Heuristic analysis engine.

Figure 4: Malware behavior captured by Netskope’s Advance Heuristic Analysis.

NanoCore RAT

We have previously blogged about NanoCore RAT in a completely different campaign where cloud storage services were used to host malicious PDF documents dropping a variant of this RAT. Netskope’s advanced threat protection suit detected these files as Trojan.GenericKD.40782328. Like our previous analysis, this version of NanoCore was also built using AutoIT as a top-level wrapper for the main .NET compiled binary.

Figure 5: AutoIT code sections identified in malware sample

The decompiled AutoIT script is heavily obfuscated and constructs the actual .NET binary of the NanoCore RAT as shown in Figure 6 below.

Figure 6: AutoIT function constructing actual binary payload

The actual binary begins infecting the system by performing the following actions:

  • Tries to detect the presence of a debugger.
  • Creates mutex and performing process injection.
  • Creates persistence through registry modifications.

Once the malware gets a foothold of the machine, it begins capturing information like:

  • Captures clipboard data and monitoring keystrokes.
  • Collects information about document files on the system.
  • Connects to FTP server to upload stolen data from the system.

Figure 7 below shows the detailed analysis of the remote administrative tool captured by Netskope’s cloud sandbox. It also shows the process execution graph depicting the creation and flow of various processes associated with the sample.

Figure 7: NanoCore RAT’s analysis in Netskope’s Cloud Sandbox

Conclusion

Malspam campaign continues to mix and match various new and old techniques to stay relevant. Choosing an image file as an attachment indicates that they are intending to defeat email filters and scanners who generally allow list such file types. Use of commercially available malware payloads shows that the use of such tools has not slowed down despite crackdowns by law enforcement on individuals responsible for creating them.

Stay informed!

Subscribe for the latest from the Netskope Blog