One way is with Region
computation:
RegionPlot3D[
RegionIntersection[Cuboid[{ -2. , -2. , -2. } , { 4. , 4. , 4. } ],
HalfSpace[Cross[{0, 1, 1}, {1, 0, 1}], {0, 0, 0}]]]
RegionPlot3D[
RegionDifference[Cuboid[{ -2. , -2. , -2. } , { 4. , 4. , 4. } ],
HalfSpace[Cross[{0, 1, 1}, {1, 0, 1}], {0, 0, 0}]]]