Skip to content

Commit

Permalink
Website, Wiki, Module repository going public
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkinne committed Jul 27, 2015
0 parents commit f8baf74
Show file tree
Hide file tree
Showing 98 changed files with 17,230 additions and 0 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lanturtle.com
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Content is available under Creative Commons Attribution Non-Commercial Share Alike unless otherwise noted.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hak5 Lan Turtle Wiki
==================

254 changes: 254 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,254 @@
<!DOCTYPE html>
<html lang="en">

<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LAN Turtle by Hak5">
<meta name="author" content="">

<title>LAN Turtle by Hak5</title>

<link href="website/css/bootstrap.min.css" rel="stylesheet">
<link href="website/css/default.css" rel="stylesheet">

<link href="website/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->

</head>

<body id="page-top" class="index">

<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#page-top"><img class="navbar-brand-img" src="website/img/title.png"></a>
</div>

<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li class="hidden">
<a href="#page-top"></a>
</li>
<li class="page-scroll">
<a href="#about">About</a>
</li>
<li class="page-scroll">
<a href="http://www.hakshop.com/lanturtle">Purchase</a>
</li>
<li class="page-scroll">
<a href="/wiki">Wiki</a>
</li>
<li class="page-scroll">
<a href="/wiki/#!videos.md">Video Tutorials</a>
</li>
<li class="page-scroll">
<a href="https://forums.hak5.org/index.php?/forum/88-lan-turtle/">Forums</a>
</li>
</ul>
</div>
</div>
</nav>

<div id="carouselSection" class="cntr">
<div id="carousel" class="carousel slide">
<div class="carousel-inner">
<div class="item active">
<img src="website/img/banner1.jpg" alt="">
</div>
<div class="item">
<img src="website/img/banner2.jpg" alt="">
</div>
</div>
<a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>

<section id="about">
<div class="container">
<div class="row">
<div class="col-md-4">
<center>
<div class="info-img">
<img class="img-responsive" src="website/img/img-1.png" >
<h4>Configure Modules</h4>
<p>Set it up for Remote Access, Man-in-the-Middle or Network Reconnaissance. </p>
</div>
</center>
</div>

<div class="col-md-4">
<center>
<div class="info-img">
<img class="img-responsive" src="website/img/img-2.png" >
<h4>Deploy on LAN</h4>
<p>Disguised as a USB Ethernet Adapter, it easily blends in with your target network. </p>
</div>
</center>
</div>

<div class="col-md-4">
<center>
<div class="info-img">
<img class="img-responsive" src="website/img/img-3.png" >
<h4>Maintain Access</h4>
<p>Get a shell at on your home server or cloud VPS over SSH, OpenVPN, Meterpreter and more. </p>
</div>
</center>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-4">
<img class="img-responsive" src="website/img/diagram.png">
</div>
<div class="col-md-8">
<h3>Drop a LAN Turtle. Get a Shell.</h3>
<p>The LAN Turtle is a covert Systems Administration and Penetration Testing tool providing stealth <b>remote access</b>, <b>network intelligence</b> gathering, and <b>man-in-the-middle</b> monitoring capabilities.</p>
<p>Housed within a generic "USB Ethernet Adapter" case, the LAN Turtle’s covert appearance allows it to blend into many IT environments.</p>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-8">
<h3>Community Module Framework.</h3>
<p>The LAN Turtle is packed with features for remote access, man-in-the-middle and network recon. Everything the LAN Turtle does is a module, and you can download new ones right to the device from the module marketplace. Keen on writing a module? Code one in bash, python, or php with a dead simple API.</p>
</div>
<div class="col-md-4">
<img class="img-responsive" src="website/img/img-10.png">
</div>
</div>
<hr>
<div class="row">
<div class="col-md-12">
<center>
<h3>Watch the Demo</h3>
<iframe width="853" height="480" src="https://www.youtube.com/embed/l8YpTOv7Q2A?rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>
</center>
</div>
</div>
</div>
</section>

<section class="success">
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h1>For Everyone</h1>
<br>
</div>
</div>
<div class="row">
<div class="col-md-4" style="text-align: center">
<img class="img-responsive" src="website/img/pentest.png">
<h4>Penetration Testers</h4>
<p>Pivot with a persistent Meterpreter session in Metasploit. </p>
<p>Scan the network using nmap. </p>
<p>DNS Spoof clients to phishing sites. </p>
<p>Exfiltrate data via SSHFS. </p>
<p>Man-in-the-Middle inline computers capturing browser traffic.</p>
</div>
<div class="col-md-4" style="text-align: center">
<img class="img-responsive" src="website/img/sysadmin.png">
<h4>Systems Administrators</h4>
<p>Access to the entire LAN through a site-to-site VPN with the LAN Turtle OpenVPN client acting as gateway.</p>
<p>Automate a management script with the results sent every hour by email.</p>
</div>
<div class="col-md-4" style="text-align: center">
<img class="img-responsive" src="website/img/dealwithit.png">
<h4>Tech Enthusiasts</h4>
<p>Write code on the openwrt-based Linux platform for any inline Ethernet application.</p>
<p>Maintain access to your home network from anywhere using a persistent reverse SSH shell.</p>
</div>

</div>
</div>
</section>

<section id="testimonial">
<div class="container">
<div class="row">
<div class="col-md-8">
<img class="img-responsive" src="website/img/photo1.png">
</div>
<div class="col-md-4">
<p>This is insane. No one at my work would notice this!</p>
<p><i>-Pentest with Hak5 Student</i></p>
</div>
</div>
</div>
</section>

<footer class="text-center">
<div class="footer-above">
<div class="container">
<div class="row">
<div class="footer-col col-md-2"></div>
<div class="footer-col col-md-8">
<h1>Get your LAN Turtle</h1>
<p>
The LAN Turtle is the product of Hak5, the creators of the WiFi Pineapple and USB Rubber Ducky. Find these great tools at <a href="http://www.hakshop.com">HakShop.com</a>
</p>
<p>
<a href="http://www.hakshop.com/lanturtle" type="button" class="btn btn-primary btn-success">BUY A LAN TURTLE</a>
</p>
</div>
<div class="footer-col col-md-2"></div>
</div>
</div>
</div>
<div class="footer-below">
<div class="container">
<div class="row">
<div class="col-lg-12">
<ul class="list-inline">
<li>
<a href="http://www.facebook.com/technolust" class="btn-social btn-outline"><i class="fa fa-fw fa-facebook"></i></a>
</li>
<li>
<a href="https://plus.google.com/105419513438843979262" class="btn-social btn-outline"><i class="fa fa-fw fa-google-plus"></i></a>
</li>
<li>
<a href="http://www.twitter.com/hak5" class="btn-social btn-outline"><i class="fa fa-fw fa-twitter"></i></a>
</li>
</ul>
</div>
<div class="col-lg-12">
Copyright &copy; <a href="http://www.hak5.org">Hak5, LLC</a> 2015
</div>
</div>
</div>
</div>
</footer>


<script src="website/js/jquery.js"></script>
<script src="website/js/bootstrap.min.js"></script>
<script src="website/js/default.js"></script>

</body>

</html>
86 changes: 86 additions & 0 deletions modules/autossh
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#!/bin/bash /usr/lib/turtle/turtle_module

VERSION="1.1"
DESCRIPTION="AutoSSH maintains persistent secure shells"
CONF=/tmp/autossh.form

: ${DIALOG_OK=0}
: ${DIALOG_CANCEL=1}
: ${DIALOG_HELP=2}
: ${DIALOG_EXTRA=3}
: ${DIALOG_ITEM_HELP=4}
: ${DIALOG_ESC=255}

function start {
autossh_host=$(uci show autossh.@autossh[0].ssh | awk '{print $7}' | sed 's/@/ /g' | awk '{print $2}')
touch /root/.ssh/known_hosts
if grep $autossh_host /root/.ssh/known_hosts; then
/etc/init.d/autossh start
else
echo "$autossh_host not in known_hosts"
fi
}

function stop {
/etc/init.d/autossh stop
}

function status {
if pgrep autossh > /dev/null; then echo "1"; else echo "0"; fi
}

function configure {
if [ -s /etc/config/autossh ]
then
autossh_host=$(uci show autossh.@autossh[0].ssh | awk '{print $7}')
autossh_remoteport=$(uci show autossh.@autossh[0].ssh | awk '{print $6}' | sed 's/:/ /g' | awk '{print $1}')
autossh_localport=$(uci show autossh.@autossh[0].ssh | awk '{print $6}' | sed 's/:/ /g' | awk '{print $3}')
else
touch /etc/config/autossh
fi

dialog --ok-label "Submit" \
--help-button \
--title "AutoSSH Configuration" \
--form "AutoSSH (Persistent Secure Shell)\n\n\
User@Host: User and Host to establish the SSH tunnel\n\
Remote Port: Remote port to bind through the SSH tunnel\n\
Local Port: Local port to bind tunnel (Default 22)\n \n" 16 60 3\
"User@Host:" 1 1 "$autossh_host" 1 14 48 0 \
"Remote Port:" 2 1 "$autossh_remoteport" 2 14 48 0 \
"Local Port:" 3 1 "$autossh_localport" 3 14 48 0 \
2>$CONF

return=$?

case $return in
$DIALOG_OK)
cat $CONF | {
read -r autossh_host
read -r autossh_remoteport
read -r autossh_localport
touch /etc/config/autossh
uci set autossh.@autossh[0].ssh="-i /root/.ssh/id_rsa -N -T -R "$autossh_remoteport":localhost:"$autossh_localport" "$autossh_host""
uci commit autossh
rm $CONF
};;
$DIALOG_CANCEL)
rm $CONF
clear
exit;;
$DIALOG_HELP)
dialog --title "Help" \
--msgbox "\
AutoSSH is a service which provides persistent SSH connections. If an SSH session drops, it will be quickly re-establish by AutoSSH. This service is typically used to provide a convenient and persistent reverse shell into the LAN Turtle on the standard SSH port 22 - though it may be configured with any standard SSH parameters to forward any arbitrary port.\n \n\
Host - The username and hostname (DNS or IP) separated by @ for which to establish the SSH connection.\n \n\
Port - The port number from which the remote server will bind.\n \n\
Listen Port - The port number to which the remote port will bind.\n \n\
Example: Per the defaults, the server will bind its local port 2222 back to the LAN Turtle port 22. In this scenario one may establish a persistent connection to their LAN Turtle from this reverse shell by first connecting to the remote host, and then from the remote host establishing an SSH connection to port 2222.\n \n\
For a video walkthrough, please watch https://www.youtube.com/watch?v=J798iStWLOM&index=1&list=PLAC30AB8C5D17FCB5 - Hak5 Explaining NAT Traversal with SSH proxies.\
" 20 60
configure
;;
$DIALOG_ESC)
clear;;
esac
}
Loading

0 comments on commit f8baf74

Please sign in to comment.