Analysis

  • max time kernel
    145s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    11/01/2025, 18:34

General

  • Target

    2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe

  • Size

    14.3MB

  • MD5

    eeeca1b4e9362ebcc28e6c9fbb4d5024

  • SHA1

    775c4131d4c97428456f30e07978408af1f73c9f

  • SHA256

    fb858d0d599cc3bc777d15f30c9bbc1661dc364da678017179cef81965949780

  • SHA512

    293efe608649c38be1b33145684c79eef16af4f07984ad4ece1a631c9fcc917990f3bc16010110725b474ee7833902b45357ef69e120a314b89600f753bb08b3

  • SSDEEP

    24576:lEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:ufot

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rputnrgk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lcyfwvzd.exe" C:\Windows\SysWOW64\rputnrgk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rputnrgk binPath= "C:\Windows\SysWOW64\rputnrgk\lcyfwvzd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rputnrgk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rputnrgk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2688
    • 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:2980
  • C:\Windows\SysWOW64\rputnrgk\lcyfwvzd.exe
    C:\Windows\SysWOW64\rputnrgk\lcyfwvzd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2772
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2564

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          14.9MB

          MD5

          daf00dadbc47da92a919e932c613b5cc

          SHA1

          617a4e4af6047b3c176b2f0722fa5a19388ef80c

          SHA256

          51c096b732f62d47ffc10ca96b748e0ffa5b7f1f2d265f42a2f2110db42e5283

          SHA512

          0f3bdc27ff49d93d8a4c34f0b55b76ba1f0e2aa6dba4e1224f4990372a43b82a8fef43411eb6b425b8bc932fc7ae0e374096e92799103582132e9066b2b783d0

        • memory/2228-15-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

        • memory/2228-4-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/2228-1-0x0000000000620000-0x0000000000720000-memory.dmp

          Filesize

          1024KB

        • memory/2228-16-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/2228-2-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

        • memory/2228-14-0x0000000000400000-0x000000000044E000-memory.dmp

          Filesize

          312KB

        • memory/2564-8-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/2564-11-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/2564-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          Filesize

          4KB

        • memory/2564-17-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/2564-18-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

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

          Filesize

          312KB