Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: maxlluky/Mantikor
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.6.0
Choose a base ref
...
head repository: maxlluky/Mantikor
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on May 9, 2021

  1. Create LICENSE

    maxlluky authored May 9, 2021
    Copy the full SHA
    fe41c28 View commit details
  2. Merge pull request #6 from maxlluky/add-license-1

    Create LICENSE
    maxlluky authored May 9, 2021
    Copy the full SHA
    d965d65 View commit details
  3. Update README.md

    maxlluky authored May 9, 2021
    Copy the full SHA
    fda60c6 View commit details
  4. Copy the full SHA
    27dc5b3 View commit details
  5. Copy the full SHA
    7a733e2 View commit details

Commits on May 16, 2021

  1. Update README.md

    maxlluky authored May 16, 2021
    Copy the full SHA
    b3ade95 View commit details

Commits on Jul 7, 2021

  1. Update README.md

    maxlluky authored Jul 7, 2021
    Copy the full SHA
    b723627 View commit details

Commits on Aug 16, 2021

  1. Update README.md

    maxlluky authored Aug 16, 2021
    Copy the full SHA
    2d633cd View commit details
  2. Update README.md

    maxlluky authored Aug 16, 2021
    Copy the full SHA
    8529ba2 View commit details
  3. Update README.md

    maxlluky authored Aug 16, 2021
    Copy the full SHA
    051f408 View commit details
  4. Update README.md

    maxlluky authored Aug 16, 2021
    Copy the full SHA
    0fc8490 View commit details

Commits on Aug 17, 2021

  1. Update Ndp.cs

    maxlluky authored Aug 17, 2021
    Copy the full SHA
    73ec2a9 View commit details
  2. Update Arp.cs

    maxlluky authored Aug 17, 2021
    Copy the full SHA
    c6f64c8 View commit details

Commits on Sep 24, 2021

  1. Update README.md

    maxlluky authored Sep 24, 2021
    Copy the full SHA
    9536f81 View commit details

Commits on Sep 27, 2021

  1. Copy the full SHA
    dbca6d5 View commit details
  2. Update README.md

    maxlluky authored Sep 27, 2021
    Copy the full SHA
    9d232b8 View commit details

Commits on Oct 7, 2021

  1. Update README.md

    maxlluky authored Oct 7, 2021
    Copy the full SHA
    41de1f1 View commit details
  2. Update README.md

    maxlluky authored Oct 7, 2021
    Copy the full SHA
    dba5670 View commit details
  3. Update README.md

    maxlluky authored Oct 7, 2021
    Copy the full SHA
    a3f8159 View commit details
  4. Update README.md

    maxlluky authored Oct 7, 2021
    Copy the full SHA
    fd46331 View commit details

Commits on Oct 14, 2021

  1. Update 01.jpg

    maxlluky committed Oct 14, 2021
    Copy the full SHA
    595b220 View commit details
  2. Update README.md

    maxlluky authored Oct 14, 2021
    Copy the full SHA
    394a46a View commit details

Commits on Oct 15, 2021

  1. Copy the full SHA
    2f1bd51 View commit details
  2. Cleanup

    maxlluky committed Oct 15, 2021
    Copy the full SHA
    d2b42a4 View commit details

Commits on Oct 17, 2021

  1. Update README.md

    maxlluky authored Oct 17, 2021
    Copy the full SHA
    a787b95 View commit details
  2. Update README.md

    maxlluky authored Oct 17, 2021
    Copy the full SHA
    2351ab7 View commit details
  3. Update README.md

    maxlluky authored Oct 17, 2021
    Copy the full SHA
    06e9557 View commit details
  4. Update README.md

    maxlluky authored Oct 17, 2021
    Copy the full SHA
    f32df3e View commit details
  5. Update README.md

    maxlluky authored Oct 17, 2021
    Copy the full SHA
    17a9c08 View commit details

Commits on Oct 18, 2021

  1. Update README.md

    maxlluky authored Oct 18, 2021
    Copy the full SHA
    10b0c8b View commit details
  2. Update README.md

    maxlluky authored Oct 18, 2021
    Copy the full SHA
    a677cda View commit details
  3. Update README.md

    maxlluky authored Oct 18, 2021
    Copy the full SHA
    05bcc4f View commit details
  4. Update README.md

    maxlluky authored Oct 18, 2021
    Copy the full SHA
    0fb6695 View commit details
  5. Update README.md

    maxlluky authored Oct 18, 2021
    Copy the full SHA
    1476205 View commit details

Commits on Oct 19, 2021

  1. Update README.md

    maxlluky authored Oct 19, 2021
    Copy the full SHA
    b85b1ff View commit details

Commits on Feb 2, 2024

  1. Major Update 1.0.8.0

    - Moved to .NET 8.0
    - Updated Constura Fody
    - Updated Sharppcap
    - Updated PacketDotNet
    - Added Try-Catch-Blocks to User-Inputs
    - Implemented a new ARP-Resolving Method
    - Merged NDP-Classes
    - Code-Cleanup
    - Changed to LibPcapDevice (Linux should be supported now)
    maxlluky committed Feb 2, 2024
    Copy the full SHA
    259e956 View commit details
  2. Screenshot-Update

    maxlluky committed Feb 2, 2024
    Copy the full SHA
    5ab8a2b View commit details
  3. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    c6fd918 View commit details
  4. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    37fccf2 View commit details
  5. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    5676c31 View commit details
  6. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    afbd4b1 View commit details
  7. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    b183867 View commit details
  8. Update README.md

    maxlluky authored Feb 2, 2024
    Copy the full SHA
    6afda63 View commit details
  9. Copy the full SHA
    dcdd8f1 View commit details
  10. Added Linux-Deploy-Profile

    maxlluky committed Feb 2, 2024
    Copy the full SHA
    0910681 View commit details
Showing 2,547 changed files with 2,524,212 additions and 2,350 deletions.
Binary file added .vs/MANTIKOR/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/MANTIKOR/v16/.suo
Binary file not shown.
Binary file added .vs/MANTIKOR/v17/.futdcache.v2
Binary file not shown.
Binary file added .vs/MANTIKOR/v17/.suo
Binary file not shown.
Binary file added .vs/ProjectEvaluation/mantikor.metadata.v7.bin
Binary file not shown.
Binary file added .vs/ProjectEvaluation/mantikor.projects.v7.bin
Binary file not shown.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Maxl

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 0 additions & 25 deletions MANTIKOR.sln

This file was deleted.

25 changes: 25 additions & 0 deletions Mantikor.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34525.116
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mantikor", "src\Mantikor.csproj", "{A0A9B190-F6F2-4716-8D51-42ABAE938BDB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A0A9B190-F6F2-4716-8D51-42ABAE938BDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0A9B190-F6F2-4716-8D51-42ABAE938BDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0A9B190-F6F2-4716-8D51-42ABAE938BDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0A9B190-F6F2-4716-8D51-42ABAE938BDB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D3F43357-7CE7-446E-8603-8D46BD9BAA16}
EndGlobalSection
EndGlobal
57 changes: 46 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,58 @@
# MANTIKOR
# Mantikor
```
Disclaimer: This project is for demonstration purposes and should not be used for illegal acts!
Please do not use in military or secret service organizations,
or for illegal purposes.
(This is the wish of the author and non-binding. Many people working
in these organizations do not care for laws and ethics anyways.
You are not one of the "good" ones if you ignore this.)
Disclaimer: This project is only for demonstration purposes and should not be used for illegal acts!
Please have a look at why I published this tool. Thanks
```
<img src="img/01.jpg">

## Whats MANTIKOR?
Mantikor is an Open-Source address-resolution spoofing-Tool. The application is written in C# with the use of SharpPcap and PacketDotNet. I created the software to learn more about ARP and NDP Spoofing which results in a better understanding how to prevent and detect it in local networks.
## Whats Mantikor?
Mantikor is an Open-Source address-resolution spoofing-Tool. The application is written in C# with the use of [SharpPcap](https://github.com/chmorgan/sharppcap) and [PacketNet](https://github.com/chmorgan/packetnet).

## How to use MANTIKOR
Mantikor is designed as a console program and can therefore also be executed directly via cmd or powershell. To select an item in the menu, the listed numbers are used. Mantikor allows to spoof either IPv4/IPv6 or both protocols i.e. ARP and NDP at the same time.
## My intention
During my studies to become an IT specialist, I started to get very interested in programming network applications. Thereby, I noticed the huge number of possibilities and vulnerabilities in network protocols. After a short time, I got familiar with the ARP and NDP protocols. It didn’t take me much time to create the project called Mantikor. My intention was to learn more about ARP and NDP spoofing, combined with the idea of building some security mechanism to prevent it. For this reason I created this project to have a working vulnerability exploitation tool. For some years now, mechanisms such as "DAI" have been in place in Enterprise switches to prevent ARP spoofing. However, these features are not implemented in most networks.

## What's the easiest way to prevent spoofing in an Enterprise Network?
Company networks have an easy way to prevent ARP using the DAI (Dynamic Arp Inspection) feature. This can be configured on switches. Firewalls can also detect spoofing attacks.
[Cisco.com: Understanding and Configuring Dynamic ARP Inspectio](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25ew/configuration/guide/conf/dynarp.html)

## What's the easiest way to prevent spoofing on a PC?
The easiest solution to prevent ARP and NDP spoofing is to manually (statically) enter the MAC address of the gateway into the arp and ndp-table.

1. With Windows this can be done quite easily with the Powershell: (Example)
```PowerShell
Get-NetAdapter
```
Which returns:
```PowerShell
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
Wi-Fi Intel(R) Dual Band Wireless 18 Disconnected 12-34-56-AB-CD-EF 6 Mbps
Ethernet Intel(R) Ethernet Connection … 9 Up 78-90-12-GH-IJ-KL 1 Gbps
```
2. To create a static ARP cache entry for that interface (that survive a reboot):
```PowerShell
New-NetNeighbor -InterfaceIndex 9 -IPAddress '192.168.178.1' -LinkLayerAddress '0000120000ff' -State Permanent
```
3. You can remove the entry we just created by running this:
```PowerShell
Remove-NetNeighbor -InterfaceIndex 9 -IPAddress '192.168.178.1'
```

The same works for NDP. For this, the IPv6 address must be used instead of the IPv4 address of the gateway in step 2.

## How to use Mantikor
Mantikor is designed as a console program and can therefore also be executed directly via cmd or powershell. To select an item in the menu, the listed numbers are used. Mantikor allows to spoof either over IPv4/IPv6 or both protocols i.e. ARP and NDP at the same time.

## What you need
To compile Mantikor you need .NET 8.0, Visual Studio (Windows) and Npcap installed on your computer.#

## Changelog
- V1.0.8.0 - SharpPcap 6.2.5.0, .NET 8.0, Linux Support, changed to LibPcapDevice, new method to resolve via ARP, NDP-Classes merged, Code-Cleanup, fixed wrong User-Inputs.

## Copyright
The contents and works in this software created by the software operators are subject to German copyright law. The reproduction, editing, distribution and any kind of use outside the limits of copyright law require the written consent of the respective author or creator. Downloads and copies of this software are only permitted for private, non-commercial use.

Insofar as the content on this software was not created by the operator, the copyrights of third parties are observed. In particular, third-party content is identified as such. Should you nevertheless become aware of a copyright infringement, please inform us accordingly. If we become aware of any infringements, we will remove such contents immediately.

Source: [eRecht24.de](https://www.e-recht24.de/)
Cheers 👀
Binary file modified img/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed packages/Costura.Fody.4.1.0/.signature.p7s
Binary file not shown.
Binary file removed packages/Costura.Fody.4.1.0/Costura.Fody.4.1.0.nupkg
Binary file not shown.
5 changes: 0 additions & 5 deletions packages/Costura.Fody.4.1.0/build/Costura.Fody.props

This file was deleted.

Binary file not shown.
18 changes: 0 additions & 18 deletions packages/Costura.Fody.4.1.0/lib/net40/Costura.xml

This file was deleted.

Binary file removed packages/Costura.Fody.4.1.0/weaver/Costura.Fody.dll
Binary file not shown.
85 changes: 0 additions & 85 deletions packages/Costura.Fody.4.1.0/weaver/Costura.Fody.xcf

This file was deleted.

Binary file added packages/Costura.Fody.5.6.0/.signature.p7s
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions packages/Costura.Fody.5.6.0/build/Costura.Fody.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<WeaverRuntimeToken
Condition="$(MSBuildRuntimeType) != 'Core'">netclassicweaver</WeaverRuntimeToken>
<WeaverRuntimeToken
Condition="$(MSBuildRuntimeType) == 'Core'">netstandardweaver</WeaverRuntimeToken>
</PropertyGroup>

<ItemGroup>
<WeaverFiles
Include="$(MsBuildThisFileDirectory)..\$(WeaverRuntimeToken)\$(MSBuildThisFileName).dll" />
</ItemGroup>

</Project>
13 changes: 13 additions & 0 deletions packages/Costura.Fody.5.6.0/build/Costura.Fody.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup Condition="$(CosturaRemoveCopyLocalFilesToPublish) == ''">
<CosturaRemoveCopyLocalFilesToPublish>true</CosturaRemoveCopyLocalFilesToPublish>
</PropertyGroup>

<Target Name="CosturaRemoveAlreadyEmbeddedFilesFromPublish" AfterTargets="ComputeResolvedFilesToPublishList" Condition="$(CosturaRemoveCopyLocalFilesToPublish) == 'true'">
<ItemGroup>
<ResolvedFileToPublish Remove="@(FodyRemovedReferenceCopyLocalPaths)" />
</ItemGroup>
</Target>

</Project>
Binary file added packages/Costura.Fody.5.6.0/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions packages/Costura.Fody.5.6.0/lib/netstandard1.0/Costura.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading