This lab is similar to lab4, except that the binary is a PE64 executable. The source code is the same except for the flag, so the debugging procedure is similar to lab4
Launch x64dbg. Press File > Open
Choose lab5.exe and start debugging
Now you need to find the main function. You can throw this executable into IDA and find the main address at the Function bar on the left side.
main calls two functions: initialize and real_routine. According to lab4, you'll probably want to look into real_routine, which is located at 0x4015BD.
Use the file command (on Linux) or Detect it Easy (on Windows) to identify the program type.
The file command (Linux):
Detect it Easy (Windows):
The above evidence suggests that lab1 is written in Go.
Use the strings command or Detect it Easy to find the hidden flag.
Introduction
In cloud environment, there is no fixed monitoring target, and nearly every monitored object in the cloud changes dynamically. Thus, Prometheus cannot statically monitor every device in the cloud.
The solution is to introduce an intermediate agent. This agent has access to all current monitored targets. Prometheus only needs to ask the agent what monitoring targets there are. Such mechanism is called service discovery.
Intorduction to Kubernetes
Overview
Kubenetes is an open source container orchestration tool developed by Google
Kubernetes regards a series of hosts as a large amount of managed resources, which form a cloud operating system that can be easily expanded. Each container running in Kubernetes can be regarded as a process running in the cloud operating system.
Introduction
Architecture Overview
Prometheus Server
TSDB
Prometheus consists of a TSDB (time series database). TSDB is a database optimized for handling time series data. Specifically, Prometheus stores value that belong to the same metric by time series. Each value consists of three parts: metric, value and timestamp (in ms).
The metric name specifies the feature of a system that is measured. For instance, the http_requests_total metric aggregate the total number of HTTP requests received.
The label is used to identify different dimensions of the same time series. For example, prometheus_http_request_total{method="Get"} indicates the number of all HTTP Get Requests, so prometheus_http_request_total{method="Post"} is another new metric that accumulates the number of Post Requests