Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25/12/2024, 21:43

General

  • Target

    2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe

  • Size

    14.0MB

  • MD5

    f5ef0966ceb9709a7d695f7979474cf9

  • SHA1

    74b0587f3eaa55eb9cfa5739ed4dabf9037e1677

  • SHA256

    49a033d771191012c9443e4f3114df4481dc58a99c1bc0de52a6c6d4254ec485

  • SHA512

    afabe7617a87900501488b861247525d0dc80022215dd1311ac18a430f95d4a5dd6f7fbfddc1615230e4948324e0d1d9c7d678de5ed61cfb09a085af52fbd9c1

  • SSDEEP

    3072:oLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:lOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kittgcnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trabkgvr.exe" C:\Windows\SysWOW64\kittgcnh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kittgcnh binPath= "C:\Windows\SysWOW64\kittgcnh\trabkgvr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kittgcnh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kittgcnh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • 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:2672
  • C:\Windows\SysWOW64\kittgcnh\trabkgvr.exe
    C:\Windows\SysWOW64\kittgcnh\trabkgvr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-25_f5ef0966ceb9709a7d695f7979474cf9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2744
    • 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:2660

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          13.2MB

          MD5

          c4b2ce006d4b9c2cfa3ce43e5cc27534

          SHA1

          fe062adad83ac5aff75dd97718b422342b74f44f

          SHA256

          256634a8849b3adff8f1205cae130833703ffe0272f4c37962b45b413394cf52

          SHA512

          b90516ae83a521b48ed6e5bce0cf57f39b73045d2185767cc78d2c39a27f88564e0ad759e5b5850a1c1685d4b4fca3d27147aa9a6a437fcc6d687d7f196d9386

        • memory/2312-15-0x0000000000020000-0x0000000000033000-memory.dmp

          Filesize

          76KB

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

          Filesize

          84KB

        • memory/2312-2-0x0000000000020000-0x0000000000033000-memory.dmp

          Filesize

          76KB

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

          Filesize

          312KB

        • memory/2312-1-0x0000000000590000-0x0000000000690000-memory.dmp

          Filesize

          1024KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          4KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          312KB