Analysis

  • max time kernel
    147s
  • max time network
    126s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 21:26

General

  • Target

    2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe

  • Size

    13.7MB

  • MD5

    97072ca9a6e4bdd9766dc25e6464f8d4

  • SHA1

    42c0c68ec982a1587c9a8f82f0f68e229d8161ea

  • SHA256

    7ce2a4327048c6c6bec3d924d83293b98e2e29efd3bcab4bc199f4ed211416d1

  • SHA512

    86b3f0b55be16f466f442a52efbd7d16f1447acfece6028efb74c46dedf137c5ea4086b8c3a6c848db23ed3dd6d0dd74918abfc10f2f2f5edd12b85c95905afd

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP7:PqtYc3m

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.

  • Tofsee family
  • 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.

  • Program crash 2 IoCs
  • 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\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kqesxdbc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\miaaxmlz.exe" C:\Windows\SysWOW64\kqesxdbc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kqesxdbc binPath= "C:\Windows\SysWOW64\kqesxdbc\miaaxmlz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3288
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kqesxdbc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kqesxdbc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4880
    • 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:3340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 640
      2⤵
      • Program crash
      PID:3696
  • C:\Windows\SysWOW64\kqesxdbc\miaaxmlz.exe
    C:\Windows\SysWOW64\kqesxdbc\miaaxmlz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3312
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1928
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3312 -s 532
      2⤵
      • Program crash
      PID:4544
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3312 -ip 3312
    1⤵
      PID:2224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2308 -ip 2308
      1⤵
        PID:3592

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        caa671f9a22c3f754001ba72a6d1819b

        SHA1

        b177e93d030d7d926b1e9e1b9b668827851c275b

        SHA256

        01d702797d385dc6f219a4ee6e06d5bc1277287b1143df83bcc4509fab7953ab

        SHA512

        a185dfcfa7ab516aea719a3c4c28ba5fce788cf27a01f4796789c6e2534dcfc1609169b71df4dd28707512f4c099b1201d01c309226d9ab12a9df1882370bc6d

      • memory/1928-8-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/1928-14-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/1928-15-0x0000000000890000-0x00000000008A5000-memory.dmp

        Filesize

        84KB

      • memory/2308-1-0x0000000002EA0000-0x0000000002FA0000-memory.dmp

        Filesize

        1024KB

      • memory/2308-2-0x0000000003220000-0x0000000003233000-memory.dmp

        Filesize

        76KB

      • memory/2308-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2308-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2308-12-0x0000000003220000-0x0000000003233000-memory.dmp

        Filesize

        76KB

      • memory/2308-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3312-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB