Thursday, May 11, 2017

Open malicious websites safely!















=> Install Links:

1. "Private Tab": https://addons.mozilla.org/en-US/firefox/addon/private-tab
2. "No-Script": https://addons.mozilla.org/en-US/firefox/addon/noscript 















In the following screenshot you can see "No-Script" blocked JavaScript!














Now this is where I have landed following that Rouge Link. As Most of the malicious scripts were blocked by "No-Script" this is what is being displayed to me:

Prerouting and Post Routing

NAT table is consulted when a packet that creates a new connection is encountered. It consists of three built-ins:
PREROUTING (for altering packets as soon as they come in),
OUTPUT (for altering locally-generated packets before routing), and 
POSTROUTING (for altering packets as they are about to go out).

PREROUTING - DNAT for incoming packets
OUTPUT - DNAT for outgoing local packets
POSTROUTING - SNAT for outgoing local/forwarded packets

Configuring Inventum Software NAS


----------------------------------------------------------
=>Inventum Login:
User: root
Password: inventumadmin
----------------------------------------------------------
=> Initial Setup
main->show
----------------------------------------------------------
=>Displaying the Connected Interfaces:
main->diag
ifconfig
=>Verify: BROADCAST RUNNING MULTICAST
=>To exit from DIAG: quit

=>List all PCI devices:
main->config->pci
----------------------------------------------------------
=> To load Drivers:
main->config
help
list drivers
=>Look at the driver name. For ex: e1000
=>Press Enter to continue till the list ends.
load e1000
=>To display what is already loaded:
loaded
=>To unload/uninstall:
unload e1000

save

=>To reboot the NAS:
main
reset/restart
----------------------------------------------------------
=>Change Default Inventum Password:
main->config
change user root password 145236
----------------------------------------------------------
=> List all Users:
main->config
list users
=> Delete User:
del user soham
=>Add User:
add user soham password 145236789 role mgr
----------------------------------------------------------
=>Set IPs to Interfaces:
main->interface
set eth0 103.43.80.2 mask 255.255.255.240
set eth1 103.43.80.1 mask 255.255.255.240
----------------------------------------------------------
=>Inventum Set Default Route/Gateway:
main->route
set default 103.43.80.1

=>Display All Routes:
main->diag
route
----------------------------------------------------------
=> Setting up DNS:
main->dns->show
add ns 8.8.8.8
del ns 208.67.222.222
----------------------------------------------------------
=>Set SNAT
main->snat
help
----------------------------------------------------------
=> Set Policy Url:
main->url
help
set policy url 203.12.122.122
----------------------------------------------------------
=>Set Firewall:
main->firewall
show

add allow from 203.12.122.122 to any protocol any
add allow from any to 203.12.122.122 protocol any

add allow from any to any protocol tcp/80/
add allow from any to any protocol tcp//80
----------------------------------------------------------
=> Show running Processes:
main->diag-> ?
ps
=>Check NAS Uptime:
uptime
=> Free RAM:
free

tcpdump
iptraf
netstat
arp
clear-ssh-identity
----------------------------------------------------------
=>To do nslookup:
main
nslookup
----------------------------------------------------------
=>Enabling Authsrv service:
main->authsrv
show

service on
set port eth1 wan
set port eth0 lan
qos on
----------------------------------------------------------
=> Enable Packet Logging:
main->plog
set logging on
format extended
reload

set logging to 103.43.80.5 8080
----------------------------------------------------------
=> Enable Syslog Logging:
set logging on
set logging to 103.43.80.5 8080
set log level err
reload
----------------------------------------------------------

Followers