Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-01-2025 18:55

General

  • Target

    2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe

  • Size

    10.0MB

  • MD5

    1d54c12a9503ee4fa9aa8668242e5253

  • SHA1

    625447266002c99f738b70e35bd0c2b7611cf774

  • SHA256

    cbefeb75259fe71eee3e53e4e698f9b65443e5975571905de5e6ef239d877b0d

  • SHA512

    bffa38584f7ee0193b029c73d450cc39e1ad3bbb04f1806fbe819db2f8ddb8a37e69c31f07de9a1e5e1c1e8d87a46d8464c0dc94ac61eae733743fa3d9d6382a

  • SSDEEP

    6144:qLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:LTYe+D2jFu+iZoUFhAz

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-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\grqjatvy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\boaxqdis.exe" C:\Windows\SysWOW64\grqjatvy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create grqjatvy binPath= "C:\Windows\SysWOW64\grqjatvy\boaxqdis.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description grqjatvy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start grqjatvy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3516
    • 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:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2124 -s 1300
      2⤵
      • Program crash
      PID:2352
  • C:\Windows\SysWOW64\grqjatvy\boaxqdis.exe
    C:\Windows\SysWOW64\grqjatvy\boaxqdis.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3384
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3384 -s 524
      2⤵
      • Program crash
      PID:2880
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2124 -ip 2124
    1⤵
      PID:4464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3384 -ip 3384
      1⤵
        PID:4280

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        2ab239fe421d0d74504c9960e6b9d12a

        SHA1

        fc34dc3f5089799ce28f46de922bd6b23f198732

        SHA256

        8d8a49d381e6d20e837ae669b4642f7ee46212cb45e44f09b39c2596b018c814

        SHA512

        dda8d85d6dcee49b4fa726d359f67f5f86d2aa92e1920955912fc00dad085d47201c3b28ab7c69d136d7ea51fe656f304afe659a41059a27c4eb3e76322da893

      • memory/2124-1-0x0000000000510000-0x0000000000610000-memory.dmp

        Filesize

        1024KB

      • memory/2124-2-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2124-16-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/2124-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2124-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3384-19-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3384-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3384-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3384-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4528-14-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4528-11-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4528-20-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4528-21-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4528-22-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB