Analysis

  • max time kernel
    148s
  • 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
    21-01-2025 23:41

General

  • Target

    2025-01-21_f082e34b66daea7261a92c6b573ab9c9_mafia.exe

  • Size

    12.6MB

  • MD5

    f082e34b66daea7261a92c6b573ab9c9

  • SHA1

    6122fab91a97699f87a0efb1dfd994204fba7473

  • SHA256

    26f3f96b93dee152a3a42cfe4903fe6bc84c1885e0ab5ab585ed15bdeb310b9e

  • SHA512

    ee88bea5bea4e0bb134137b8f6c820087b2554a047d62a40fad123708e499319c7416281bf20ca7a0b4f612b87e8e9cdff1fea3a0c547910b17602224f402cac

  • SSDEEP

    24576:d6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQI:MWdLQk

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-21_f082e34b66daea7261a92c6b573ab9c9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_f082e34b66daea7261a92c6b573ab9c9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lvdcyteg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iuthscke.exe" C:\Windows\SysWOW64\lvdcyteg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lvdcyteg binPath= "C:\Windows\SysWOW64\lvdcyteg\iuthscke.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_f082e34b66daea7261a92c6b573ab9c9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lvdcyteg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lvdcyteg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • 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:3844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2304 -s 596
      2⤵
      • Program crash
      PID:4184
  • C:\Windows\SysWOW64\lvdcyteg\iuthscke.exe
    C:\Windows\SysWOW64\lvdcyteg\iuthscke.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_f082e34b66daea7261a92c6b573ab9c9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 744 -s 532
      2⤵
      • Program crash
      PID:4872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2304 -ip 2304
    1⤵
      PID:4076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 744 -ip 744
      1⤵
        PID:4728

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        a8de60d4b4b978d1add7a3a19906c935

        SHA1

        5c61352cb8ac43f65ea8c8cfdcb0a2d5b7e287e4

        SHA256

        7d45fbe4d0188d883d528691ed96d0c624fed8cced2d71d0e44cb9172d96c51d

        SHA512

        2efbd5cdb199506c3ed4ed11da4f0766737593bee8ee2079255b231256abdf5226a2b9b41f445c9bce34a83f073a552d2286682675dd52f530c8738550286cef

      • memory/744-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/744-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/744-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/744-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1728-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1728-16-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1728-17-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2304-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/2304-8-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2304-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2304-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB