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
    31-01-2025 08:25

General

  • Target

    2025-01-31_1ceb07b6b28d81b0d1a0292f641d3e34_mafia.exe

  • Size

    11.2MB

  • MD5

    1ceb07b6b28d81b0d1a0292f641d3e34

  • SHA1

    eb3b5aacc5f62f82a0cffd4ebd487b4729335f89

  • SHA256

    7af4167a7e387b421f0f87368d51f7924e983b2e245ad75566ec5b20b3417936

  • SHA512

    d3cc0b7b67b1022c729024f9e7bde8b3b2e8d62c870539eb33e85dac24f6daa06b9d7227516d6c9dafb652df4fee03a7212be96957ba6dbe3d959fc8e2443962

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:POMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-31_1ceb07b6b28d81b0d1a0292f641d3e34_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_1ceb07b6b28d81b0d1a0292f641d3e34_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\owgnkwzd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iijupqow.exe" C:\Windows\SysWOW64\owgnkwzd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create owgnkwzd binPath= "C:\Windows\SysWOW64\owgnkwzd\iijupqow.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_1ceb07b6b28d81b0d1a0292f641d3e34_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description owgnkwzd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start owgnkwzd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3972
    • 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:1308
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2384 -s 1192
      2⤵
      • Program crash
      PID:1160
  • C:\Windows\SysWOW64\owgnkwzd\iijupqow.exe
    C:\Windows\SysWOW64\owgnkwzd\iijupqow.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_1ceb07b6b28d81b0d1a0292f641d3e34_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:352
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 352 -s 536
      2⤵
      • Program crash
      PID:4472
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2384 -ip 2384
    1⤵
      PID:2464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 352 -ip 352
      1⤵
        PID:2328

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        b90e38507fbbfa83ad7c2ac273904c30

        SHA1

        3d258f439de8c34c33d040fd7bb826aaf4b35b86

        SHA256

        4dc28f63ddede22c122566571c06b9e64a3d3437e9970bf020625686a9a354bf

        SHA512

        30084a46cdb57571ddd427e738ec4987f8abdeb0303bfb59c66f3d52d73a381dc723fe0b0cecd91facc84d99ea6b373c9429456dd10f33ca127ac11259e3345a

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2384-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3524-14-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB

      • memory/3524-16-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB

      • memory/3524-17-0x00000000001C0000-0x00000000001D5000-memory.dmp

        Filesize

        84KB