Analysis

  • max time kernel
    142s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    20/04/2024, 17:35

General

  • Target
    fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe
  • Size 13.3MB
  • Sample240420-v55d5aeb8x
  • SHA256 6e5691161afc3f8d202dfc94f917d73acdf30d2f4a184da64a05c9abda98b7d5
  • MD5 SHA1 SHA512 SSDEEP

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) 1 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).

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\goggzlcd\
      2⤵
        PID:2896
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\neahyxbf.exe" C:\Windows\SysWOW64\goggzlcd\
        2⤵
          PID:2684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create goggzlcd binPath= "C:\Windows\SysWOW64\goggzlcd\neahyxbf.exe /d\"C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2084
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description goggzlcd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2656
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start goggzlcd
          2⤵
          • Launches sc.exe
          PID:2664
        • 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
          PID:2556
      • C:\Windows\SysWOW64\goggzlcd\neahyxbf.exe
        C:\Windows\SysWOW64\goggzlcd\neahyxbf.exe /d"C:\Users\Admin\AppData\Local\Temp\fd43c0ae0a977257010f08fe87f3bef4_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2080
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2596

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            neahyxbf.exe

            • Path C:\Users\Admin\AppData\Local\Temp\neahyxbf.exe
            • Size 10.4MB
            • SHA256 fa744d7c974fde8960fa87f94116ee53749c948d825bef19f7e249dd3cec8a02
            • MD5 SHA1 SHA512 SSDEEP

            memory/1772-4-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/1772-2-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/1772-1-0x0000000003760000-0x0000000003860000-memory.dmp

            memory/1772-6-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/1772-8-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/2080-19-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/2080-15-0x0000000000400000-0x00000000036CD000-memory.dmp

            memory/2080-10-0x0000000003820000-0x0000000003920000-memory.dmp

            memory/2596-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

            memory/2596-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2596-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2596-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2596-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2596-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

            memory/2596-22-0x00000000000C0000-0x00000000000D5000-memory.dmp