Analysis

  • max time kernel
    141s
  • max time network
    129s
  • 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 22:45

General

  • Target

    2025-01-30_23a30960ef2bceeb34f879d68c404b63_mafia.exe

  • Size

    13.2MB

  • MD5

    23a30960ef2bceeb34f879d68c404b63

  • SHA1

    0ef65c7c1f7921ef5a1fe8abf962ea4819d1385f

  • SHA256

    682697c64ebaba27ea6cb073f31fcd71a75f12e466b445124e7b3ef79abdd3e9

  • SHA512

    ec99f656b16362d2d105015de16158d740cd79f7a4afd4d9d45d3c83081dadcb22ecd2c2f027f11bba4ea15e24b6d13623587edd0d53fef3fe6b22894cd9a6d4

  • SSDEEP

    3072:JLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/n:MOMdRQr7OB0ypmMXnl8XEPM3noSWOCi

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_23a30960ef2bceeb34f879d68c404b63_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_23a30960ef2bceeb34f879d68c404b63_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ifmulbdx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\toskalnl.exe" C:\Windows\SysWOW64\ifmulbdx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ifmulbdx binPath= "C:\Windows\SysWOW64\ifmulbdx\toskalnl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_23a30960ef2bceeb34f879d68c404b63_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ifmulbdx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ifmulbdx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5044
    • 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:5008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1620 -s 1364
      2⤵
      • Program crash
      PID:3892
  • C:\Windows\SysWOW64\ifmulbdx\toskalnl.exe
    C:\Windows\SysWOW64\ifmulbdx\toskalnl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_23a30960ef2bceeb34f879d68c404b63_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4624
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4624 -s 512
      2⤵
      • Program crash
      PID:1636
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 1620 -ip 1620
    1⤵
      PID:3136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 368 -p 4624 -ip 4624
      1⤵
        PID:624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        026997c11b816b73a253dafcee1ce2f0

        SHA1

        5b741ad41a96f14859297105a44acfdeee641b8b

        SHA256

        f1ef134b94d1efcabeae5ef965d609d8ec59a0734bb5e070baef8d218123640d

        SHA512

        15080ff15173f82a4f61cf92f3e1ec5f2336b5f4a0a695faa2c160f674df90912498389a8a731106a276779a303bb510b50c0d3c49ddd1c81b5fe75f7729dd1c

      • memory/452-16-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB

      • memory/452-14-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB

      • memory/452-17-0x0000000000CF0000-0x0000000000D05000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1620-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/1620-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/1620-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB