netcat (ncat)

Introduction

The networking utility “netcat” is a simple tool to read and write data across TCP or UDP network or UNIX socket connection.

netcat uses (net + cat) :

  • Port scanning
  • Tunneling
  • Proxying
  • Port forwarding
  • File Transfer
  • Banner Grabbing
  • Port Listening & Port Redirection
  • Backdoor

netcat installation

https://nmap.org/download

netcat in action:

https://www.unix.com/man-page/Linux/1/netcat/

Todo: check the behavior of netcat (nc) -o option in linux environment.

nc -r option (randomize port )

port range example

File Transfer:

Banner Grabbing

Redirecting Port and Traffic (relay)

Android Userdata Encryption

Trusted Execution Environment(TEE)

https://en.wikipedia.org/wiki/Trusted_execution_environment

OP-TEE
Code Organization
OP-TEE Secure Storage Architecture
Use case Demonstration


Trusty TEE
Code Organization
https://projectacrn.github.io/latest/developer-guides/trusty.html#trusty-tee
Trusty Secure Storage Architecture
1. https://events19.linuxfoundation.org/wp-content/uploads/2017/12/Implement-Android-Tamper-Resistant-Secure-Storage-Bing-Zhu_and-Secure-it-in-Virtualization-Bing-Zhu-Intel-Corporation.pdf

2. https://projectacrn.github.io/latest/tutorials/trustyACRN.html

Use case Demonstration