Analysis

  • max time kernel
    147s
  • max time network
    138s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    12-06-2022 04:39

General

  • Target

    229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f.exe

  • Size

    97KB

  • MD5

    4d20335690b8218af519b6a5ff523c94

  • SHA1

    05b23688e15db6b5b5730e76c762af9a1390617c

  • SHA256

    229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f

  • SHA512

    ffa59b9145ee118d0dfedf4dd7b6ed364ab43d5347ba8f34d2cbdde09ca318b4f9de89b1ec4933bd0eaa7068bb15bb2bbaed3658d5b5713caf02455eed20ece5

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.

  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f.exe
    "C:\Users\Admin\AppData\Local\Temp\229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gbvygylx\
      2⤵
        PID:3656
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rhnghpfo.exe" C:\Windows\SysWOW64\gbvygylx\
        2⤵
          PID:3348
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gbvygylx binPath= "C:\Windows\SysWOW64\gbvygylx\rhnghpfo.exe /d\"C:\Users\Admin\AppData\Local\Temp\229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1692
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gbvygylx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gbvygylx
          2⤵
          • Launches sc.exe
          PID:4324
        • 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:2188
      • C:\Windows\SysWOW64\gbvygylx\rhnghpfo.exe
        C:\Windows\SysWOW64\gbvygylx\rhnghpfo.exe /d"C:\Users\Admin\AppData\Local\Temp\229b6c4fa6bf3086364bbb00da7199f5e5c006062b8d986aebc6a68efe28516f.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4608
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1688

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        cee3935d2a47369cdd978fc6cc492b11

        SHA1

        664a12f8776f233889a491f09e659340fdeedb35

        SHA256

        f7351a8055f187331aa1067de979ce8924aafae8717a81648e88d6ba3dc900a1

        SHA512

        83b3e30604613bf4e6f5fb4e4787587ac9114db765a63d288168cadd687bec3af0ea6547fb5d630b3daeaf2798588598655d48bc62f8eec429d0062b2c529183

      • C:\Windows\SysWOW64\gbvygylx\rhnghpfo.exe

        Filesize

        13.6MB

        MD5

        cee3935d2a47369cdd978fc6cc492b11

        SHA1

        664a12f8776f233889a491f09e659340fdeedb35

        SHA256

        f7351a8055f187331aa1067de979ce8924aafae8717a81648e88d6ba3dc900a1

        SHA512

        83b3e30604613bf4e6f5fb4e4787587ac9114db765a63d288168cadd687bec3af0ea6547fb5d630b3daeaf2798588598655d48bc62f8eec429d0062b2c529183

      • memory/1688-142-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/1688-146-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/1688-145-0x00000000006C0000-0x00000000006D5000-memory.dmp

        Filesize

        84KB

      • memory/1688-141-0x0000000000000000-mapping.dmp

      • memory/1692-135-0x0000000000000000-mapping.dmp

      • memory/2188-138-0x0000000000000000-mapping.dmp

      • memory/2896-131-0x0000000000400000-0x000000000041B000-memory.dmp

        Filesize

        108KB

      • memory/3348-133-0x0000000000000000-mapping.dmp

      • memory/3656-132-0x0000000000000000-mapping.dmp

      • memory/4324-137-0x0000000000000000-mapping.dmp

      • memory/4516-136-0x0000000000000000-mapping.dmp

      • memory/4608-140-0x0000000000400000-0x000000000041B000-memory.dmp

        Filesize

        108KB