Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2024 15:33

General

  • Target

    f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe

  • Size

    12.2MB

  • MD5

    f3c8d3257218a2b7afc8a4c8e9c77d3f

  • SHA1

    8667190ac0beb9d575f3ae8ca1690498d2ab0dd5

  • SHA256

    1f0454306dcfba27f8b800e1afaf802d1a88b92e2a096cab863fc26ed8fdc7b0

  • SHA512

    019a0d7dd5e4c3ef7c167e4186cadb39e9042dda7592a0550f3993f7336997ac342c76309857bdd1b28bce87ed03ad80cd000d4c53755640c3855c54c48c32bb

  • SSDEEP

    6144:MgZQZcij488Ua7qY57rMzCo8AqtSRV+a1Q:LZij488UaWYMzB5HRV+g

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\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shfvdyfp\
      2⤵
        PID:1628
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pncoiepf.exe" C:\Windows\SysWOW64\shfvdyfp\
        2⤵
          PID:2836
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create shfvdyfp binPath= "C:\Windows\SysWOW64\shfvdyfp\pncoiepf.exe /d\"C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2760
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description shfvdyfp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2912
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start shfvdyfp
          2⤵
          • Launches sc.exe
          PID:3024
        • 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:2852
      • C:\Windows\SysWOW64\shfvdyfp\pncoiepf.exe
        C:\Windows\SysWOW64\shfvdyfp\pncoiepf.exe /d"C:\Users\Admin\AppData\Local\Temp\f3c8d3257218a2b7afc8a4c8e9c77d3f_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2896
        • 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\pncoiepf.exe

        Filesize

        14.3MB

        MD5

        fb57c2f572cd88313eac003261048c37

        SHA1

        839daf7b521c26eb8f202e06f953d4a5749951e6

        SHA256

        aa131d33859021241854f3588943f875c953b8155a27f1564de052ec652745a1

        SHA512

        b9ccbdf962cc1a8c9c343fc53b23a917dc527a111deb66fd4e1216d416510f6698205666e1ec8b1e0b8a4ed0cd3b3b5012db8ed287979a62d8802d94066ab6e1

      • memory/2292-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/2292-3-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2292-7-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2292-8-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/2584-12-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2584-15-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2584-19-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2584-20-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2584-21-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2896-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2896-10-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB

      • memory/2896-17-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB