Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2024 11:26

General

  • Target

    f5a99263467440a04da884e37b581577_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    f5a99263467440a04da884e37b581577

  • SHA1

    58c016d9dae50898c03dc602997db96b14fbc2fe

  • SHA256

    bc51cad0a8ed5eb57551f034a5f693b4d1c135201a38ff4b3d7c1eb6151745c2

  • SHA512

    b5255af60ca12756011398e5907ef6587cd9ea77401b55b30c0812c2c616ab492eff9d2bba6c5a7ba7732e2f4f0eba80d702bb0d98e767499d182219e16f45af

  • SSDEEP

    196608:H4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTH:H

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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\f5a99263467440a04da884e37b581577_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1716
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nmrrgbpc\
      2⤵
        PID:1156
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ayiggwfv.exe" C:\Windows\SysWOW64\nmrrgbpc\
        2⤵
          PID:2684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create nmrrgbpc binPath= "C:\Windows\SysWOW64\nmrrgbpc\ayiggwfv.exe /d\"C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:864
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description nmrrgbpc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2536
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start nmrrgbpc
          2⤵
          • Launches sc.exe
          PID:2692
        • 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:2492
      • C:\Windows\SysWOW64\nmrrgbpc\ayiggwfv.exe
        C:\Windows\SysWOW64\nmrrgbpc\ayiggwfv.exe /d"C:\Users\Admin\AppData\Local\Temp\f5a99263467440a04da884e37b581577_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2072
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        ab109c913445e8a0251de173a629b44d

        SHA1

        79f7aa660bb6d35ba15d507eca8f9b84bc67a910

        SHA256

        2f82a0c6e14edc35e09a3a1cac9ad392baa94447467e7ef69e00c7540a801150

        SHA512

        51521f2442de9ba6d0f8be85d886bb83132eb3d73c1fbeedfaa2977bb38d628a8e8ada0b91f7d3b0eaaade13781d50e5bb8e991dbbbebe7775937d96e654b652

      • memory/1716-1-0x0000000000270000-0x0000000000370000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/1716-4-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/1716-6-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2072-10-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2072-9-0x00000000002B0000-0x00000000003B0000-memory.dmp

        Filesize

        1024KB

      • memory/2072-15-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2436-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2436-12-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2436-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2436-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2436-20-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/2436-21-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB