Analysis

  • max time kernel
    145s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-08-2024 21:03

General

  • Target

    2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe

  • Size

    10.4MB

  • MD5

    1c1323cf707fafdf1f7ef48598069e2e

  • SHA1

    ee7860750369521fafa184488a55140192af367b

  • SHA256

    2b6866b392a0a2622228b6321166371f6c14fc8ff654bef06324a595075c2455

  • SHA512

    f8b62663e0295554de07b511fa4d94398d4ba2c2bc2724d773cd8450a01c7602e4daa0b5b65e37d049783fe7e7517171662b6093eac174dc32fc1e3f5c5162ff

  • SSDEEP

    6144:E+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:E+r1IeSXMXc7LlxWV4Ug97GZ+ej

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pszmmbne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ipccfqid.exe" C:\Windows\SysWOW64\pszmmbne\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pszmmbne binPath= "C:\Windows\SysWOW64\pszmmbne\ipccfqid.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pszmmbne "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pszmmbne
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3568
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4580
  • C:\Windows\SysWOW64\pszmmbne\ipccfqid.exe
    C:\Windows\SysWOW64\pszmmbne\ipccfqid.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1c1323cf707fafdf1f7ef48598069e2e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4676
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1112

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\ipccfqid.exe

    Filesize

    11.9MB

    MD5

    9f32e0057fe2f1526cff6ecae3530a51

    SHA1

    a1b07548067f032d46ed73cb3a1795f2c3797b84

    SHA256

    385e43deb20209c68602820858743dabce8751789dce9e9506eb5137d9e2b3cc

    SHA512

    b2cbbc2a0ca58bd44da2ba26f2a7c21b9a4a164959575991f5377c18c9a3ca58de56b0648adaa671c80305344b97eec5009d7a601e956b74dc9a2c2116f10b81

  • memory/1112-11-0x0000000000A50000-0x0000000000A65000-memory.dmp

    Filesize

    84KB

  • memory/1112-19-0x0000000000A50000-0x0000000000A65000-memory.dmp

    Filesize

    84KB

  • memory/1112-18-0x0000000000A50000-0x0000000000A65000-memory.dmp

    Filesize

    84KB

  • memory/1112-15-0x0000000000A50000-0x0000000000A65000-memory.dmp

    Filesize

    84KB

  • memory/1112-17-0x0000000000A50000-0x0000000000A65000-memory.dmp

    Filesize

    84KB

  • memory/4668-7-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/4668-6-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/4668-1-0x00000000007E0000-0x00000000008E0000-memory.dmp

    Filesize

    1024KB

  • memory/4668-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/4676-10-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/4676-16-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/4676-9-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB