Analysis

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

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

General

  • Target

    2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe

  • Size

    13.9MB

  • MD5

    dbe440eadee03dc056718f695dcb66e7

  • SHA1

    4cb4b7dd184cb3ab34daa57cb3706e0cc4fa75cf

  • SHA256

    5261edddfdea12841188800723f12edbd0e0b9d021855827ded935c29c0f36e1

  • SHA512

    24cbc6e40447b2964bed072a4f4f60f9024cdada6a68200ea141c761963d694d5c58e5edc4b9aafa18c3ff4aa0353a2954a3954c2a5ea96a1038f234f65a45fd

  • SSDEEP

    6144:d+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:d+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-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bpyqvtaz\
      2⤵
        PID:3044
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fiqqomqz.exe" C:\Windows\SysWOW64\bpyqvtaz\
        2⤵
          PID:2576
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create bpyqvtaz binPath= "C:\Windows\SysWOW64\bpyqvtaz\fiqqomqz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2752
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description bpyqvtaz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2572
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start bpyqvtaz
          2⤵
          • Launches sc.exe
          PID:2628
        • 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:1528
      • C:\Windows\SysWOW64\bpyqvtaz\fiqqomqz.exe
        C:\Windows\SysWOW64\bpyqvtaz\fiqqomqz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-20_dbe440eadee03dc056718f695dcb66e7_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2728
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:3064

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        52c5c93f08dfb0f66a06ec5afbf21628

        SHA1

        1cfdd4ee9eecb64808628c45515d6d956bed663b

        SHA256

        cb0e5708b85cc9e78d1843a639b4705f7fcbeb3d92892a9a17fd05bb15aafdcd

        SHA512

        4d06d9f00534f19cfa2d43d2f9cd832eaa8023e670cb9e60b5646d25d08f60b4c94489ba97a7805bdc3627610041f1222f42591b57b8d99cd0b9fecd7681f3f1

      • memory/348-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/348-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

      • memory/2728-12-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/3064-7-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3064-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/3064-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3064-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB