From charlesreid1

 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
Also see [[:Category:August 2016]] for an unordered list of pages.
=Priorities=
=Priorities=


Line 16: Line 18:


August course preparation:
August course preparation:
* Programming - [[CSC 142 Course Notes]]
* Programming - [[CSC 142 Course Notes]], [[CSC 143 Course Notes]]
* Math - [[Math 107 Course Notes]]
* Math - [[Math 107 Course Notes]]


Line 25: Line 27:
* Create your story, your objective, your scenario
* Create your story, your objective, your scenario
* Nice link: Raspberry Pi IoT temperature sensor: http://www.raspberrypi-spy.co.uk/2015/06/basic-temperature-logging-to-the-internet-with-raspberry-pi/
* Nice link: Raspberry Pi IoT temperature sensor: http://www.raspberrypi-spy.co.uk/2015/06/basic-temperature-logging-to-the-internet-with-raspberry-pi/
Layout of information, and detailed explanations:
* Traveling Salesperson Problem (Peter Norvig): http://nbviewer.jupyter.org/url/norvig.com/ipython/TSP.ipynb
* via https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks#engineering-education


=Ham Radio=
=Ham Radio=
Line 54: Line 60:
=Projects=
=Projects=


==Raspberry Pi==
==Raspberry Pi Project: Snailcases==
 
[[August 2016/Pi Thing]]


Building an Internet of Things Thing platform out of Raspberry Pis, robust weatherproof cases, and various sensors. The components and sensors are listed below with more details.
Building an Internet of Things Thing platform out of Raspberry Pis, robust weatherproof cases, and various sensors. The components and sensors are listed below with more details.


===Timelapse Camera===
Snailcases (my own name) are modified Pelican cases outfitted to carry Raspberry Pi sensor gear.
 
===Stage 1: Camera Snail===
 
{{Main|Camera Snailcase}}


Working on a third timelapse shoot with the Raspberry Pi camera.
Finished Stage 1 prototype for the weatherproof camera case, a.k.a., the Camera Snailcase. [[RaspberryPi/Camera Snailcase]]


Major goals for this shoot:
Abandoned [[RaspberryPi/Timelapse3]]. Working on [[RaspberryPi/Timelapse4]]. Major goals for this shoot:
* Have a working weatherproof camera case that is tripod-mountable
* Have a working weatherproof camera case that is tripod-mountable
* Adjust camera brightness/contrast/white balance settings in script
* Adjust camera brightness/contrast/white balance settings in script
* Fix minor annoyances from last time (LED, etc.)
* Fix minor annoyances from last time (LED, etc.)


Weatherproof case notes are here: [[RaspberryPi/Weatherproof Camera Case]]
Weatherproof camera case/Pelican modification notes are here: [[RaspberryPi/Camera Snailcase]]


Camera timelapse notes are here: [[RaspberryPi/Timelapse3]]
Camera timelapse notes are here: [[RaspberryPi/Timelapse4]]


Integrating the weatherproof case is a part of this timelapse, so that's where things currently stand.
===Wifi Snailcase===


===Next Steps===
{{Main|Wifi Snailcase}}


Want to turn the weatherproof Pelican case into a "platform" for internet of things thing - sensor - generating sensor data.
===Snailcases: More Ideas===


Hook up any manner of various sensors - starting with the most complicated sensor of all, a camera, and working our way back down.
Modifying the Pelican case to create a Snailcase was a big success. I think this will make for an absolutely masterful platform for creating sensor platforms (things) for the internet of things.


Lots of different routes to pursue with this project. Examples include:
Examples of routes to pursue with the project:
* Weather sensors, making this a plug-and-go weather station, working on remote connections, TNC modem, etc.
* <s>Using the camera for doing time-lapse movies</s> (in progress)
* Power - providing power from batteries, providing solar power to run the thing and recharge the batteries
* Power: providing power from batteries, providing solar power to run the thing and recharge the batteries
* Using the camera for doing time-lapse movies
* Add weather sensors (pollution sensor/particle size monitor, humidity, pressure, temperature, wind station)
* Remote sensor, TNC Pi, connections over radio
* Transmitting images via SSTV
* Using the camera for performing active image analysis with Python (facial recognition, motion detection, active time-lapse analysis, etc.)
* Using the camera for performing active image analysis with Python (facial recognition, motion detection, active time-lapse analysis, etc.)
* Transmitting images via SSTV
* Serving up images, content, statistics, information via an encrypted wireless network
* Serving up images, content, statistics, information via an encrypted wireless network
* Using a Widy as a central networking hub (DHCP server, router, etc.)
* Using a Widy as a central networking hub (DHCP server, router, etc.)
Line 93: Line 106:
There are simply too many ideas to try and implement all, or most, of them in one device. Instead, pick a particular application, work on that, and don't get sidetracked by a bazillion other things you ''could'' do with it. Let's focus on one thing at a time - focus on something in line with our goals - and focus on something useful for the UGR project, and building remote sensor networks.
There are simply too many ideas to try and implement all, or most, of them in one device. Instead, pick a particular application, work on that, and don't get sidetracked by a bazillion other things you ''could'' do with it. Let's focus on one thing at a time - focus on something in line with our goals - and focus on something useful for the UGR project, and building remote sensor networks.


What would fit the bill?
Boom. Success.
* Building a weatherproof, power-provided, plug-and-go sensor node/platform.
* One Raspberry Pi is your weather station. You're building in multiple sensors to analyze the environment - camera, humidity, ambient temperature, &c. Weather station Pi.
* One Raspberry Pi is your signals station. You're listening to wifi and other radio signals from the environment.


==Programming==
==Programming==
===Github===
organizing projects on github for august - [[August 2016/Github]]


===Asmodeus===
===Asmodeus===
Line 120: Line 134:
* More illustration of a finished product, end goal, big picture, whole project
* More illustration of a finished product, end goal, big picture, whole project


See [[UGR Project]] - and Github?
See [[UGR Project]]
 
Also see [[Wireless/Python]]
 
===Kali===
 
See [[MITM Labs]]
 
Also see [[Kali/Wireless Reboot]]
* getting some sense of order back into things
* here's an interesting tool list: https://cryptoanarchy.freed0m4all.net/wiki/Hax0ring_tools
 
Also see [[Kali/Attack Layers]]


===OpenCV===
===OpenCV===
Line 130: Line 156:
[[Python/OpenCV]]
[[Python/OpenCV]]


===Malware Classification===
===Machine Learning Project: Malware Classification===


very interesting Kaggle project: https://www.kaggle.com/c/malware-classification/data
very interesting Kaggle project: https://www.kaggle.com/c/malware-classification/data


Classifying malware, using a 40 GB uncompressed (almost 500 GB uncompressed) data set, containing files, hex representation of files, IDE disassembler output, and one of nine classifications.
Classifying malware, using a 40 GB compressed (almost 500 GB uncompressed) data set, containing files, hex representation of files, IDE disassembler output, and one of nine classifications.


The winner posted their code to Github: https://github.com/xiaozhouwang/kaggle_Microsoft_Malware
The winner posted their code to Github: https://github.com/xiaozhouwang/kaggle_Microsoft_Malware
Line 150: Line 176:
</s>
</s>


=Reading=
=Reading and Writing=
 
==Reading==


Started re-reading [[Brothers Karamazov]] - my dog-eared and much-underlined copy...
Started re-reading [[Brothers Karamazov]] - my dog-eared and much-underlined copy...
Line 159: Line 187:


This leads to thoughts of other Python projects: Python for computer vision, audio analysis and microphone recordings, music synthesis, maybe some language analysis bots
This leads to thoughts of other Python projects: Python for computer vision, audio analysis and microphone recordings, music synthesis, maybe some language analysis bots
Bertrand Russel, Ludwig Wittgenstein, Isaac Newton
==Writing==
How Isaac Newton used a prism to deduce light is composed of particles: [[Essay Newton]]
How J J Thompson used a cathode ray to deduce the charge of an electron: [[Essay Thompson]]
How Karl Jasky used a piece of wire and a cart to deduce the Milky Way emits constant radio background noise: [[Essay Jasky]]
=Links=
==External Links==
abuse of c++: program that prints itself many, many times when it searches for the first N prime numbers: http://www.ioccc.org/2004/vik2.hint
enron email data set: https://www.kaggle.com/wcukierski/enron-email-dataset
strace: http://linux.die.net/man/1/strace
airbase-ng: http://aircrack-ng.org/doku.php?id=airbase-ng#n_hirte_attack_fragmentation_attack
==Related Pages==
Getting started back up with Kali wireless, so far successful: [[Kali/Wireless_Reboot]]
This led to broader strategic thinking about attacks, defense, and how tools fit together, based on the OSI Model: [[Kali/Attack Layers]]
These layers are now leading to exploration of topics, how you advance up the kill chain.
New topic reboot: [[Man in the Middle]]


=Flags=
=Flags=


[[Category:August 2016]]
[[Category:August 2016]]

Latest revision as of 02:41, 12 August 2017

Also see Category:August 2016 for an unordered list of pages.

Priorities

Ranking of priorities:

  • Teaching preparation
  • Ham radio
  • Personal projects

Teaching

July preparation and notes: July 2016/Teaching Preparation

Procedure:

  • Course syllabus draft
  • Course outline draft
  • Brainstorm about how to incorporate concepts into hw/exams/other

August course preparation:

UGR project:

Layout of information, and detailed explanations:

Ham Radio

General Upgrade

Big priority here is passing the general class license exam - see General page for notes

Passed my General 8/5/2016 at Defcon 24

Digital Modes

Main page: Radio/Digital Modes

Working through learning about digital modes. Right now, focusing on how to generate signals - independent of radios. SSTV and PSK.

Yaesu VX 6

Currently have a USB to line in cable, but this is basically useless without the Windows Yaesu software for interfacing with the VX-6. Fldigi and the hamlib library do not seem to have interfaces defined for the Yaesu VX-6.

Instead, I ordered a line in to two (2) audio-out jacks, so that this thing can be hooked up to a TNC modem (like the Raspberry Pi TNC that I have). Then you can have the VX-6 radio hooked up to the Raspberry Pi to transmit digital signals to a base station.

HackRF

Getting the HackRF working with Kali Linux: Kali/HackRF

Okay, so we're able to receive with the HackRF... Now what?

Projects

Raspberry Pi Project: Snailcases

August 2016/Pi Thing

Building an Internet of Things Thing platform out of Raspberry Pis, robust weatherproof cases, and various sensors. The components and sensors are listed below with more details.

Snailcases (my own name) are modified Pelican cases outfitted to carry Raspberry Pi sensor gear.

Stage 1: Camera Snail

Finished Stage 1 prototype for the weatherproof camera case, a.k.a., the Camera Snailcase. RaspberryPi/Camera Snailcase

Abandoned RaspberryPi/Timelapse3. Working on RaspberryPi/Timelapse4. Major goals for this shoot:

  • Have a working weatherproof camera case that is tripod-mountable
  • Adjust camera brightness/contrast/white balance settings in script
  • Fix minor annoyances from last time (LED, etc.)

Weatherproof camera case/Pelican modification notes are here: RaspberryPi/Camera Snailcase

Camera timelapse notes are here: RaspberryPi/Timelapse4

Wifi Snailcase

Snailcases: More Ideas

Modifying the Pelican case to create a Snailcase was a big success. I think this will make for an absolutely masterful platform for creating sensor platforms (things) for the internet of things.

Examples of routes to pursue with the project:

  • Using the camera for doing time-lapse movies (in progress)
  • Power: providing power from batteries, providing solar power to run the thing and recharge the batteries
  • Add weather sensors (pollution sensor/particle size monitor, humidity, pressure, temperature, wind station)
  • Remote sensor, TNC Pi, connections over radio
  • Transmitting images via SSTV
  • Using the camera for performing active image analysis with Python (facial recognition, motion detection, active time-lapse analysis, etc.)
  • Serving up images, content, statistics, information via an encrypted wireless network
  • Using a Widy as a central networking hub (DHCP server, router, etc.)
  • Using a hardware switch for operating in different "modes"
  • Listen mode/Analyze mode/Attack mode/Jamming mode/Wall of sheep mode/Honeypot mode
  • Control circuitry - via telephone, or via web browser

There are simply too many ideas to try and implement all, or most, of them in one device. Instead, pick a particular application, work on that, and don't get sidetracked by a bazillion other things you could do with it. Let's focus on one thing at a time - focus on something in line with our goals - and focus on something useful for the UGR project, and building remote sensor networks.

Boom. Success.

Programming

Github

organizing projects on github for august - August 2016/Github

Asmodeus

Remaining piece: scheduling.

Almost finished with the implementation - all that remains is to work out drawing 7x7 grids and turning those into schedules. That's just a bit of math.

Link: https://github.com/charlesreid1/asmodeus#scheduling

More on the wiki: Asmodeus

Related: automatic map generation; terrain, place names, city placement, etc: https://mewo2.com/notes/terrain/

Python wifi tools

Tools to analyze wifi data:

  • Gathering data
  • Analyzing data
  • What are we looking at, what's interesting, how to profile a network
  • More illustration of a finished product, end goal, big picture, whole project

See UGR Project

Also see Wireless/Python

Kali

See MITM Labs

Also see Kali/Wireless Reboot

Also see Kali/Attack Layers

OpenCV

Image classification and learning with OpenCV - actually utilizing/analyzing camera data from the sensor

Answering simple questions - is there a car in this photo?

Python/OpenCV

Machine Learning Project: Malware Classification

very interesting Kaggle project: https://www.kaggle.com/c/malware-classification/data

Classifying malware, using a 40 GB compressed (almost 500 GB uncompressed) data set, containing files, hex representation of files, IDE disassembler output, and one of nine classifications.

The winner posted their code to Github: https://github.com/xiaozhouwang/kaggle_Microsoft_Malware

Graphene (Nope)

Kicking around the idea of starting back up with Graphene.

Notes on getting Cantera set up: August 2016/Cantera

Once you've got Cantera installed, you need to make sure you can run some simulations for Graphene: August 2016/Cantera Test

More notes/brainstorming on Graphene development: August 2016/Graphene

Reading and Writing

Reading

Started re-reading Brothers Karamazov - my dog-eared and much-underlined copy...

See My Reading List for full reading list

Gives me stirrings of thoughts about NaNoGenMo and a Brothers Karamazov bot.

This leads to thoughts of other Python projects: Python for computer vision, audio analysis and microphone recordings, music synthesis, maybe some language analysis bots

Bertrand Russel, Ludwig Wittgenstein, Isaac Newton

Writing

How Isaac Newton used a prism to deduce light is composed of particles: Essay Newton

How J J Thompson used a cathode ray to deduce the charge of an electron: Essay Thompson

How Karl Jasky used a piece of wire and a cart to deduce the Milky Way emits constant radio background noise: Essay Jasky

Links

External Links

abuse of c++: program that prints itself many, many times when it searches for the first N prime numbers: http://www.ioccc.org/2004/vik2.hint

enron email data set: https://www.kaggle.com/wcukierski/enron-email-dataset

strace: http://linux.die.net/man/1/strace

airbase-ng: http://aircrack-ng.org/doku.php?id=airbase-ng#n_hirte_attack_fragmentation_attack

Related Pages

Getting started back up with Kali wireless, so far successful: Kali/Wireless_Reboot

This led to broader strategic thinking about attacks, defense, and how tools fit together, based on the OSI Model: Kali/Attack Layers

These layers are now leading to exploration of topics, how you advance up the kill chain.

New topic reboot: Man in the Middle

Flags