Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 04:42

General

  • Target

    2025-02-01_04e437967a97228b8a21dc2a0c069a00_mafia.exe

  • Size

    10.4MB

  • MD5

    04e437967a97228b8a21dc2a0c069a00

  • SHA1

    3636d55251c0953be05d9f02897352f7f43f7a9f

  • SHA256

    2be71100003ab6289fedc5f0fe8bd605020c56ad24e4a3d1aad58634b2c259b9

  • SHA512

    4729d9fc7c432805ba60d98ffafe2663f4f92ae84e18291e001fe783148c22ec6692bfd747f6520e8c4837cd23d353780fef6200dad8152d2f4243c43084c59c

  • SSDEEP

    24576:IEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZS:FfotA

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-02-01_04e437967a97228b8a21dc2a0c069a00_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_04e437967a97228b8a21dc2a0c069a00_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sgucbwbg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omvwfbqm.exe" C:\Windows\SysWOW64\sgucbwbg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sgucbwbg binPath= "C:\Windows\SysWOW64\sgucbwbg\omvwfbqm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_04e437967a97228b8a21dc2a0c069a00_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sgucbwbg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sgucbwbg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3044
    • 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:2272
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1664 -s 572
      2⤵
      • Program crash
      PID:988
  • C:\Windows\SysWOW64\sgucbwbg\omvwfbqm.exe
    C:\Windows\SysWOW64\sgucbwbg\omvwfbqm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_04e437967a97228b8a21dc2a0c069a00_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4972 -s 512
      2⤵
      • Program crash
      PID:3320
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1664 -ip 1664
    1⤵
      PID:3644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 4972 -ip 4972
      1⤵
        PID:2228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        3bd6683cbb83afb91dda740fe566ccdc

        SHA1

        88c3c7f2118990003ac450ef9bf6c738324b372c

        SHA256

        876e4f4f7aa06dabce2a157e19b3fa7f5786c1f8660c069cd5bf1dd92af517ab

        SHA512

        8f9d709499e0a21f4240c910fceba5a74a9e47f38f87456154628fcb7b9fd66a2d766a9842a87a951078545a81e0b22c3ee73c5c80c309a63c5ed183fe9e2670

      • memory/1664-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1664-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/1664-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1664-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1664-1-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

      • memory/3084-14-0x0000000000E20000-0x0000000000E35000-memory.dmp

        Filesize

        84KB

      • memory/3084-16-0x0000000000E20000-0x0000000000E35000-memory.dmp

        Filesize

        84KB

      • memory/3084-17-0x0000000000E20000-0x0000000000E35000-memory.dmp

        Filesize

        84KB

      • memory/4972-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4972-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4972-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4972-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB