Analysis

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

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    11-03-2024 10:28

General

  • Target

    c05cd0f67349fcf3ec9623331ff98469.exe

  • Size

    338KB

  • MD5

    c05cd0f67349fcf3ec9623331ff98469

  • SHA1

    d3d3e7403a28809a427a09a5143ca1f4964b3205

  • SHA256

    dab7a0e23822f9014969fb8a9ec8e27c947e7542ef63b0508b34ee6156757875

  • SHA512

    9c8431a355b72b89f37b5a94c9c95b120c021df3cf8cdb556ccc262ae56a1cb00c025b20915e8b4628c49499d82ef397bb59007e1ea3809de7b80e37377b7069

  • SSDEEP

    6144:dWgNDwgPQcb3+CW948kKmiRZrvdw/GY2mVRkOF:hNMgPQcbuCWOKmUH+GC

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\c05cd0f67349fcf3ec9623331ff98469.exe
    "C:\Users\Admin\AppData\Local\Temp\c05cd0f67349fcf3ec9623331ff98469.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ryqtmse\
      2⤵
        PID:2548
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nwmabpek.exe" C:\Windows\SysWOW64\ryqtmse\
        2⤵
          PID:2576
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ryqtmse binPath= "C:\Windows\SysWOW64\ryqtmse\nwmabpek.exe /d\"C:\Users\Admin\AppData\Local\Temp\c05cd0f67349fcf3ec9623331ff98469.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2552
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ryqtmse "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2580
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ryqtmse
          2⤵
          • Launches sc.exe
          PID:2848
        • 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:1340
      • C:\Windows\SysWOW64\ryqtmse\nwmabpek.exe
        C:\Windows\SysWOW64\ryqtmse\nwmabpek.exe /d"C:\Users\Admin\AppData\Local\Temp\c05cd0f67349fcf3ec9623331ff98469.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2560
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        5.2MB

        MD5

        ad25470d5ac25c44605e4d5098c2ec25

        SHA1

        8d7663763ef26b2468b1bfc0aabb0f6d550d7a61

        SHA256

        b1002baadf5bcdfde9c23a79359ce7b8ca21ce742b91e622836688e916ebdc12

        SHA512

        655bf388bd7bbe4d1e354d7315a77b7f0f2fbff60c789ff8844bc9005456daedb925ae3f45da0e4e3957702b345d5dbc1d5e856e23cdc51fcd47d4e60fab624d

      • C:\Windows\SysWOW64\ryqtmse\nwmabpek.exe

        Filesize

        6.3MB

        MD5

        d98c67f9ea65f83984460300112ec69f

        SHA1

        108ac2437e7f39b79921a14359f3ede12fc4233a

        SHA256

        703c8449773164b9d31a0afae552f9da197155ebc32fc471c52ecb09941e35d3

        SHA512

        1bad8b41c1c7ef7b2a42b05128e21c46ce4a4676c66877b7ae8f9f159516c115af620e1bdb66b8fe8f8c85d4983c2116b155587a44cae8532324162534646fc6

      • memory/2512-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2512-4-0x0000000000400000-0x0000000003250000-memory.dmp

        Filesize

        46.3MB

      • memory/2512-8-0x0000000003380000-0x0000000003480000-memory.dmp

        Filesize

        1024KB

      • memory/2512-10-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2512-7-0x0000000000400000-0x0000000003250000-memory.dmp

        Filesize

        46.3MB

      • memory/2512-1-0x0000000003380000-0x0000000003480000-memory.dmp

        Filesize

        1024KB

      • memory/2560-16-0x0000000000400000-0x0000000003250000-memory.dmp

        Filesize

        46.3MB

      • memory/2560-12-0x0000000003420000-0x0000000003520000-memory.dmp

        Filesize

        1024KB

      • memory/2560-20-0x0000000000400000-0x0000000003250000-memory.dmp

        Filesize

        46.3MB

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

        Filesize

        4KB

      • memory/2988-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2988-11-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2988-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2988-22-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2988-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB