UNDERCODE SECURITY
225 subscribers
295 photos
1.03K files
1.73K links
πŸ¦‘WELCOME IN UNDERCODE TESTING FOR LEARN HACKING | PROGRAMMING | SECURITY & more..

THIS CHANNEL BY :

@UndercodeTesting
UndercodeTesting.com (official)

@iUndercode
iUndercode.com (iOs)

@Dailycve
DailyCve.com


@UndercodeNews
UndercodeNews.com
Download Telegram
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘Various libraries (Libraries) and Android runtime environment (RunTime) :


This level corresponds to the general embedded system and is equivalent to the middleware level. This level of Android is divided into two parts, one is various libraries, and the other is the Android runtime environment. The content of this layer is mostly implemented in C++. Among them, various libraries include:


1) C library: The standard library of C language, which is also one of the lowest level libraries in the system. The C library is implemented through Linux system calls.

2) Multimedia Framework (MediaFrameword): This part of the content is the core part of Android multimedia, based on PacketVideo (PV)

3) OpenCORE, functionally this library is divided into two parts, one part is the audio and video playback (PlayBack), and the other One part is audio and video records (Recorder).

4) SGL: 2D graphics engine.

5) SSL: The SecureSocket Layer is located between the TCP/IP protocol and various application layer protocols to provide security support for data communication.

6) OpenGL ES 1.0: This part provides support for 3D.

7) Interface management tool (Surface Management): This part provides functions such as managing the display subsystem.

8) SQLite: a general embedded database

9) WebKit: the core of the web browser

10) FreeType: The function of bitmap and vector font.

11) Various Android libraries are generally provided in the form of system middleware, and one of their distinctive features is that they are closely related to the applications of the mobile device platform. The Android operating environment mainly refers to the virtual machine technology-Dalvik. The Dalvik virtual machine is different from the general Java virtual machine (Java VM) in that it executes files in the Dalvik executable format (.dex) instead of the Java standard bytecode (bytecode). In the process of execution, each application is a process (a Process of Linux). The biggest difference between the two is that Java VM is a stack-based virtual machine (Stack-based), while Dalvik is a register-based virtual machine (Register-based). Obviously, the biggest advantage of the latter is that it can achieve greater optimization based on the hardware, which is more suitable for the characteristics of mobile devices.


don't copy our tutorials
@UndercodeTesting
@UndercodeHacking
@UndercodeSecurity
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘β˜ΈοΈ How to copy Kubernetes secrets between namespaces :

1) Creating Kubernetes secrets
We will create a secret with username and password from a file.

echo -n 'admin' > ./username.txt
echo -n 'Password' > ./password.txt

2) Run the kubectl create secret command to pack these files into a secret and create an object on the API server.

$ kubectl create secret generic my-user-pass --from-file=./username.txt --from-file=./password.txt
secret/my-user-pass created
Let's list our secrets:

$ kubectl get secrets

3) Copying Kubernetes secrets between namespaces
Use the following kubectl command syntax to copy a secret from one namespace to another namespace.

kubectl get secret <secret-name> \
--namespace=<source-nemespace> \
--export -o yaml | \
kubectl apply --namespace=<new-namespace> -f -

4) In my example, I will execute:

kubectl get secret my-user-pass \
--namespace=namespace1 \
--export -o yaml | \
kubectl apply --namespace=namespace2 -f -

5) Command execution output:

secret/my-user-pass created
Confirm the creation of the secret in the namespace.

$ kubectl get secret -n namespace2 my-user-pass
NAME TYPE DATA AGE
my-user-pass Opaque 2 38s

6) Decrypt the secret to confirm the correctness of the data:

secret_name="my-user-pass"
namespace="namespace2"
kubectl get secret -n $namespace $secret_name -o go-template='{{range $k,$v := .data}}{{printf "%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{"\n"}}{{end}}'

7) Command output:

password.txt: Password
username.txt: admin
If you have jq, you can use the following command to decrypt.

$ kubectl get secret my-user-pass -o json | jq '.data | map_values(@base64d)'
{
"password.txt": "Password",
"username.txt": "admin"

}

don't copy our tutorials
@UndercodeTesting
@UndercodeHacking
@UndercodeSecurity
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘SOME GOOD HARDDISK REPAIRING TOOLS FOR WINDOWS :

http://windirstat.info/

http://clonezilla.org/

http://www.osforensics.com/tools/mount-disk-images.html

http://www.piriform.com/defraggler

http://ssd-life.com/eng/download-ssdlife.html

http://www.dban.org/

http://www.hdtune.com/index.html

http://crystalmark.info/software/CrystalDiskInfo/index-e.html

http://www.piriform.com/recuva

▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘Broadly speaking, the data used for tracking has three related applications:


1) Long-term data receiver

According to use cases, long-term storage such as HDFS can open large-scale analysis to discover "what is normal" in the network and then identify historical trends. It is a simple way to get data to the ELK (Elasticsearch Logstash Kibana) stack to perform search and trend analysis. This method of quickly searching for known IOCs uses an open source stack, while detecting any deviations from normal values.

2) Monitor

The monitor counts various DNS transmissions, such as the number of NXDOMAIN, the number of bytes requested, the number of requests, the number of user requests, or the requested distribution TLD, etc. It is very helpful to understand hourly and daily trends. Monitoring applications such as (Graphite) generate graphs and statistics for different data points and allow us to proactively identify anomalies.

3) Real-time threat tracking

When the data arrives, this user process records and detects threats in real time, and constantly searches for malicious transmission patterns, but it performs anomaly detection. Time series analysis, using link libraries such as Karios, to help track, detect abnormal behavior and all data interruptions or cycles.

don't copy our tutorials
@UndercodeTesting
@UndercodeHacking
@UndercodeSecurity
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘Encryption algorithm

1) This project builds an efficient certificateless encryption scheme. Compared with the general example, it transforms the identity-based encryption and signature scheme into a combined certificateless protocol, and uses a certificateless encryption verification mechanism to extend the traditional signature encryption method. Based on the technology of identity authentication, pairing is used to verify the related public key. As long as the amortized cost of this verification is low, the result will be as efficient as basic encryption.

2) It not only maintains the advantages of identity-based public key cryptosystems that do not require the use of public key certificates, but also better solves its inherent key escrow problem. Signcryption combines public key encryption and digital signatures At the same time, the two functions of public key encryption and digital signature can be completed in a reasonable logical step, and the calculation amount and communication cost are lower than the traditional "sign before encryption" mode.

3) Use certificateless signature encryption algorithm based on bilinear pairing to use in wireless sensor network. Construct an efficient certificateless encryption scheme. Compared with the general paradigm, the identity-based encryption and signature scheme is transformed into a combined certificateless protocol, and the certificateless encryption verification mechanism is used to extend the traditional signature encryption method. According to the basic identity-based authentication Technology, pairing is used to verify the related public key. As long as the amortized cost of this verification is low, the result will be as efficient as basic encryption.

4) The PBC encryption algorithm is implanted in wireless sensors with limited memory and processing speed (wireless sensors use 51 cores). The ROM is only 4K and has to deal with the sensor's own information transmission, sensor signal detection and peripherals The state of the device is supervised, so it is extremely challenging to use in wireless sensor networks.

don't copy our tutorials
@UndercodeTesting
@UndercodeHacking
@UndercodeSecurity
▁ β–‚ β–„ Uπ•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁