Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240611-en
  • resource tags

    arch:x64arch:x86image:win7-20240611-enlocale:en-usos:windows7-x64system
  • submitted
    18-06-2024 20:20

General

  • Target

    2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe

  • Size

    11.8MB

  • MD5

    e47cf404094bbac14300b8b6525cc895

  • SHA1

    4aa8d94eca6db073799dab29a2995f41451fbf9e

  • SHA256

    2b1a7ddd00423c781fb634cc0c0503d497d87d2ea446e6ed5aea5d2519908926

  • SHA512

    903f147de2009507effe3a65b91103db46ed659c16ea2f0ee50c48101b1b34edb6f6392591ed367765567acc8e824595637be5a67788018bd80103778370852c

  • SSDEEP

    6144:z+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:z+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njxpggzk\
      2⤵
        PID:1728
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqjmtgsr.exe" C:\Windows\SysWOW64\njxpggzk\
        2⤵
          PID:2364
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create njxpggzk binPath= "C:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description njxpggzk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2788
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start njxpggzk
          2⤵
          • Launches sc.exe
          PID:2672
        • 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
          PID:2792
      • C:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exe
        C:\Windows\SysWOW64\njxpggzk\zqjmtgsr.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-18_e47cf404094bbac14300b8b6525cc895_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2096
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2584

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        07ceda37e4013be33f40dd0a9e0697a2

        SHA1

        feda319dcdffbbb3bf4c6b9b2dc23bbea8d81bc3

        SHA256

        ee7a1e8e891a330f2119a5248663238bbaedcdcfc644cf9c9d38cd7c5bcd31d4

        SHA512

        533029579f17191006df48e505aac84a9273f33765ed46118164277f340e59b06d25a34a23c2265f2089e1c9694c652d2f02f49b2a3d991c80530ceb02becaf9

      • memory/2096-11-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/2124-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2124-13-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/2584-7-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2584-10-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2584-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2584-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2584-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB