Analysis

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

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

General

  • Target

    2025-01-18_99c735028626d2f1b44d2957df9a59d2_mafia.exe

  • Size

    14.9MB

  • MD5

    99c735028626d2f1b44d2957df9a59d2

  • SHA1

    bb75cf3af10c7c71a740416c902d0e15dd6bf5de

  • SHA256

    7f145faefedbe2eb4b8e4600b3bfe9f3fa6b0a51b6575dde15d38b074f37109f

  • SHA512

    ba49ce98236a77cd2afaca400bfedf43dc48c2612ac82c5615ff7ec8bc9e928906e85d94f5c25dc3f73a4f46cc62dbc7a343555562f6a6ae7ba810e0532cbf61

  • SSDEEP

    24576:yEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ3:Lfot

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-18_99c735028626d2f1b44d2957df9a59d2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_99c735028626d2f1b44d2957df9a59d2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykwyrpgw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yummjyxl.exe" C:\Windows\SysWOW64\ykwyrpgw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykwyrpgw binPath= "C:\Windows\SysWOW64\ykwyrpgw\yummjyxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_99c735028626d2f1b44d2957df9a59d2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykwyrpgw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykwyrpgw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • 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:2148
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1948 -s 592
      2⤵
      • Program crash
      PID:3132
  • C:\Windows\SysWOW64\ykwyrpgw\yummjyxl.exe
    C:\Windows\SysWOW64\ykwyrpgw\yummjyxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_99c735028626d2f1b44d2957df9a59d2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4524 -s 516
      2⤵
      • Program crash
      PID:1132
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1948 -ip 1948
    1⤵
      PID:3064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4524 -ip 4524
      1⤵
        PID:2416

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        cd6119a6887d12e8a6af23b9775245e1

        SHA1

        08738b782c517cc6816ed66a649d7f10d4bb9d1c

        SHA256

        b54818cac515f99b1893e58f8562902b3a15c969ab1bfdb549df96bd53977ed6

        SHA512

        a69ced571e38ecd24d776b7de9c1ab6b874cdb906da0695abe917c221d3b7d3e900994385dfe3c5db1ea83cae84a112e9010fe42dd2f67e2c10bcd8a130835e3

      • memory/1948-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1948-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1948-1-0x0000000000540000-0x0000000000640000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4524-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4712-14-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/4712-16-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/4712-17-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB