People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
/etc/hosts of the metadata server with something a location that we control!metadata.google.com, the connection goes offline for a moment. Then, google_guest_agent will attempt to create a TCP connection to our rouge metadata server. Now, we can instruct it to add our own SSH keys and log into the box. /etc/hosts file. So, the GCP boxes are still vulnerable to this attack. Although the DHCP issue is only exploitable on GCP because of a multitude of specific things, the issue is actually in an implementation of DHCP in this particular library. Overall, this is an awesome post that required an amazing amount of creativity and spec reading to work. javaScriptEnabled must be set to true for this to work. Besides the obvious case for RCE, this makes for simple XSS if the env is isolated. All of this was prior research.import syntax can be used to import files that should NOT be allowed. For instance, AWS credentials is something that can be removed. Additionally, import supports URL based imports. As a result, SSRF is also possible./etc/passwd and AWS credentials. Additionally, because it was processed on the server side, they got code execution on the box as well. EFI file) is stored in a FAT file system. Because of this, they do not have ACLs or any security information on the files. In order to account for this issue with the EFI partition, Windows does behind-the-scenes magic to ensure that the EFI partition is not overwritten. CreateFile and specify the partition in this API without mounting the drive. FindFirstVolume and FindNextVolume, enumerating the volumes can find the GUID for the EFI volume. GetSecurityInfo results in a file descriptor. Sadly, any attempts to open the file for reading or writing result in access denied. So, Microsoft thought about a lot of these things!CreateFile with no permissions but specify CREATE_ALWAYS. This flag will truncate the file to a size of zero, if it exists, prior to opening the file. CreateFile call; it happens only when the handle is created. By making this call, it will open up the EFI partition and wipe it!“>img src=x onerror=alert(1)>. The HTML attribute is escaped with the double quote (") and the current HTML element is closed. Finally, the XSS payload put next.