Loading ...

Play interactive tourEdit tour

Analysis Report 20014464370.PDF.exe

Overview

General Information

Sample Name:20014464370.PDF.exe
Analysis ID:432418
MD5:cac542cd84be91ea0acfb9cd1964397d
SHA1:339d543a12e1f849bfe14a71c4a05106380548ab
SHA256:49c28c9ab46c71450929ffc850dc411cf24f125659cc253f0ee5fb16a59e3f7f
Tags:exeNanoCore
Infos:

Most interesting Screenshot:

Detection

Nanocore
Score:100
Range:0 - 100
Whitelisted:false
Confidence:100%

Signatures

Detected Nanocore Rat
Found malware configuration
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for domain / URL
Multi AV Scanner detection for dropped file
Multi AV Scanner detection for submitted file
Sigma detected: NanoCore
Snort IDS alert for network traffic (e.g. based on Emerging Threat rules)
Yara detected Nanocore RAT
.NET source code contains potential unpacker
Allocates memory in foreign processes
C2 URLs / IPs found in malware configuration
Initial sample is a PE file and has a suspicious name
Injects a PE file into a foreign processes
Tries to detect sandboxes and other dynamic analysis tools (process name or module or function)
Uses an obfuscated file name to hide its real file extension (double extension)
Writes to foreign memory regions
Yara detected Costura Assembly Loader
Abnormal high CPU Usage
Antivirus or Machine Learning detection for unpacked file
Binary contains a suspicious time stamp
Checks if Antivirus/Antispyware/Firewall program is installed (via WMI)
Contains capabilities to detect virtual machines
Contains functionality to access loader functionality (e.g. LdrGetProcedureAddress)
Contains long sleeps (>= 3 min)
Creates a DirectInput object (often for capturing keystrokes)
Creates a process in suspended mode (likely to inject code)
Detected TCP or UDP traffic on non-standard ports
Detected potential crypto function
Dropped file seen in connection with other malware
Drops PE files
Enables debug privileges
Found a high number of Window / User specific system calls (may be a loop to detect user behavior)
Found inlined nop instructions (likely shell or obfuscated code)
IP address seen in connection with other malware
Installs a raw input device (often for capturing keystrokes)
Internet Provider seen in connection with other malware
May sleep (evasive loops) to hinder dynamic analysis
Monitors certain registry keys / values for changes (often done to protect autostart functionality)
PE / OLE file has an invalid certificate
PE file contains strange resources
Queries the volume information (name, serial number etc) of a device
Sample execution stops while process was sleeping (likely an evasion)
Sample file is different than original file name gathered from version info
Tries to load missing DLLs
Uses 32bit PE files
Uses code obfuscation techniques (call, push, ret)
Yara signature match

Classification

Process Tree

  • System is w10x64
  • 20014464370.PDF.exe (PID: 5480 cmdline: 'C:\Users\user\Desktop\20014464370.PDF.exe' MD5: CAC542CD84BE91EA0ACFB9CD1964397D)
    • RegAsm.exe (PID: 5612 cmdline: C:\Users\user\AppData\Local\Temp\RegAsm.exe gyujnbgh MD5: 6FD7592411112729BF6B1F2F6C34899F)
      • AAAstarupxxzzzgb.exe (PID: 3604 cmdline: 'C:\Users\user\AppData\Local\Temp\AAAstarupxxzzzgb.exe' MD5: C7330A70647D84A218BBE2E6D245DCE3)
  • lkjhgfs.exe (PID: 1848 cmdline: 'C:\Users\user\AppData\Local\lkjhgfs.exe' MD5: CAC542CD84BE91EA0ACFB9CD1964397D)
    • RegAsm.exe (PID: 964 cmdline: C:\Users\user\AppData\Local\Temp\RegAsm.exe gyujnbgh MD5: 6FD7592411112729BF6B1F2F6C34899F)
  • lkjhgfs.exe (PID: 5188 cmdline: 'C:\Users\user\AppData\Local\lkjhgfs.exe' MD5: CAC542CD84BE91EA0ACFB9CD1964397D)
  • cleanup

Malware Configuration

Threatname: NanoCore

{"Version": "1.2.2.0", "Mutex": "ba5f434c-3370-4fb7-bec8-4c7f593d", "Group": "Grace", "Domain1": "23.105.131.142", "Domain2": "startedhere.ddns.net", "Port": 2092, "KeyboardLogging": "Enable", "RunOnStartup": "Disable", "RequestElevation": "Disable", "BypassUAC": "Disable", "ClearZoneIdentifier": "Disable", "ClearAccessControl": "Disable", "SetCriticalProcess": "Disable", "PreventSystemSleep": "Disable", "ActivateAwayMode": "Disable", "EnableDebugMode": "Disable", "RunDelay": 0, "ConnectDelay": 4000, "RestartDelay": 5000, "TimeoutInterval": 5000, "KeepAliveTimeout": 30000, "MutexTimeout": 5000, "LanTimeout": 2500, "WanTimeout": 8000, "BufferSize": "ffff0000", "MaxPacketSize": "0000a000", "GCThreshold": "0000a000", "UseCustomDNS": "Enable", "PrimaryDNSServer": "8.8.8.8", "BackupDNSServer": "8.8.4.4"}

Yara Overview

Initial Sample

SourceRuleDescriptionAuthorStrings
20014464370.PDF.exeJoeSecurity_CosturaAssemblyLoaderYara detected Costura Assembly LoaderJoe Security

    Dropped Files

    SourceRuleDescriptionAuthorStrings
    C:\Users\user\AppData\Local\Temp\AAAstarupxxzzzgb.exeJoeSecurity_CosturaAssemblyLoaderYara detected Costura Assembly LoaderJoe Security
      C:\Users\user\AppData\Local\lkjhgfs.exeJoeSecurity_CosturaAssemblyLoaderYara detected Costura Assembly LoaderJoe Security

        Memory Dumps

        SourceRuleDescriptionAuthorStrings
        0000000C.00000002.508404585.0000000005220000.00000004.00000001.sdmpNanocore_RAT_Gen_2Detetcs the Nanocore RATFlorian Roth
        • 0x16e3:$x1: NanoCore.ClientPluginHost
        • 0x171c:$x2: IClientNetworkHost
        0000000C.00000002.508404585.0000000005220000.00000004.00000001.sdmpNanocore_RAT_Feb18_1Detects Nanocore RATFlorian Roth
        • 0x16e3:$x2: NanoCore.ClientPluginHost
        • 0x1800:$s4: PipeCreated
        • 0x16fd:$s5: IClientLoggingHost
        0000000C.00000002.509028437.0000000006560000.00000004.00000001.sdmpNanocore_RAT_Gen_2Detetcs the Nanocore RATFlorian Roth
        • 0x350b:$x1: NanoCore.ClientPluginHost
        • 0x3525:$x2: IClientNetworkHost
        0000000C.00000002.509028437.0000000006560000.00000004.00000001.sdmpNanocore_RAT_Feb18_1Detects Nanocore RATFlorian Roth
        • 0x350b:$x2: NanoCore.ClientPluginHost
        • 0x52b6:$s4: PipeCreated
        • 0x34f8:$s5: IClientLoggingHost
        00000017.00000000.484413891.0000000000402000.00000040.00000001.sdmpNanocore_RAT_Gen_2Detetcs the Nanocore RATFlorian Roth
        • 0xff8d:$x1: NanoCore.ClientPluginHost
        • 0xffca:$x2: IClientNetworkHost
        • 0x13afd:$x3: #=qjgz7ljmpp0J7FvL9dmi8ctJILdgtcbw8JYUc6GC8MeJ9B11Crfg2Djxcf0p8PZGe
        Click to see the 121 entries

        Unpacked PEs

        SourceRuleDescriptionAuthorStrings
        12.2.RegAsm.exe.6560000.35.raw.unpackNanocore_RAT_Gen_2Detetcs the Nanocore RATFlorian Roth
        • 0x350b:$x1: NanoCore.ClientPluginHost
        • 0x3525:$x2: IClientNetworkHost
        12.2.RegAsm.exe.6560000.35.raw.unpackNanocore_RAT_Feb18_1Detects Nanocore RATFlorian Roth
        • 0x350b:$x2: NanoCore.ClientPluginHost
        • 0x52b6:$s4: PipeCreated
        • 0x34f8:$s5: IClientLoggingHost
        12.2.RegAsm.exe.4f80000.22.unpackNanocore_RAT_Gen_2Detetcs the Nanocore RATFlorian Roth
        • 0xd9ad:$x1: NanoCore.ClientPluginHost
        • 0xd9da:$x2: IClientNetworkHost
        12.2.RegAsm.exe.4f80000.22.unpackNanocore_RAT_Feb18_1Detects Nanocore RATFlorian Roth
        • 0xd9ad:$x2: NanoCore.ClientPluginHost
        • 0xea88:$s4: PipeCreated
        • 0xd9c7:$s5: IClientLoggingHost
        12.2.RegAsm.exe.4f80000.22.unpackJoeSecurity_NanocoreYara detected Nanocore RATJoe Security