Analysis

  • max time kernel
    145s
  • 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
    19-01-2025 20:11

General

  • Target

    2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe

  • Size

    11.0MB

  • MD5

    0d5531100e7d9824de6e5aecffbe9341

  • SHA1

    5ced127d1e9ae254d058712c395cf8bda7f27ab7

  • SHA256

    f9fcec7285c18f2bf701fc31f799ea3a28bbb84a51290d03ec010dc3559f2f10

  • SHA512

    f0cb42ec59009bba4ef7801b46609ed4d5e6772fe99823f4046f9a52bd27eaeb22f0866d4538ef4f7be755e8b54862c6f3e2702d21c1186dbb2af3a1a7a35b32

  • SSDEEP

    6144:WLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF:HTYe+D2jFu+iZoUFhAz

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-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ffpmobgx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdyexku.exe" C:\Windows\SysWOW64\ffpmobgx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ffpmobgx binPath= "C:\Windows\SysWOW64\ffpmobgx\bdyexku.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ffpmobgx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ffpmobgx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1412
    • 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:2604
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 728 -s 1328
      2⤵
      • Program crash
      PID:3016
  • C:\Windows\SysWOW64\ffpmobgx\bdyexku.exe
    C:\Windows\SysWOW64\ffpmobgx\bdyexku.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3020 -s 560
      2⤵
      • Program crash
      PID:3832
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 728 -ip 728
    1⤵
      PID:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3020 -ip 3020
      1⤵
        PID:2752

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        301518b14f0aa7e0fe9228b8ec413eef

        SHA1

        df24b826d0e8a16b5a36bc13345b40ea4149c462

        SHA256

        f385fe56b01d90f069ed75b44071590ed74425b6a108db1b3bc15aabaa6288d3

        SHA512

        81f68443d522c5738bfa4f05e61cddac3ca4b339251c66371e431722f4fedf7bdfb498f6bc3d094048fd1571ad938afcf72364c5f0901278d60a9b785f0360cc

      • memory/728-13-0x0000000000800000-0x0000000000813000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/728-1-0x0000000000890000-0x0000000000990000-memory.dmp

        Filesize

        1024KB

      • memory/728-12-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/728-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/728-2-0x0000000000800000-0x0000000000813000-memory.dmp

        Filesize

        76KB

      • memory/2336-10-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

        Filesize

        84KB

      • memory/2336-17-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

        Filesize

        84KB

      • memory/2336-18-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

        Filesize

        84KB

      • memory/3020-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3020-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3020-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB